Dynamic Navigation

Posted by Dooie on Stack Overflow See other posts from Stack Overflow or by Dooie
Published on 2010-06-16T18:17:07Z Indexed on 2010/06/16 18:42 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

I am building a project in asp.net 4.0. My navigation will be database driven where i return a datatable from the db containing all the pages of my site, some will be top level while others will be children and sometimes children of children n-times.

Im thinking of going down the nested repeater route and databinding from code behind, dynamically generating repeaters for children, but have read that this is not a best practice and should consider the listview control.

Im wanting to build a list of links using an unordered list.

I cannot find a solid example and was hoping for some pointers/ideas.

Thanks

Doo

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about listview