ASP.NET 2.0 BasicsIf you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Basics section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
After running, it displays the 1st level of tabs correctly. But when I click on one tab, it displays the 2nd level of tabs twice(even the third repeater displays 2nd level tab). I don't understand why, because StartingNodeOffset="2" for 3rd repeater control.
Only after clicking on one tab of the 2nd level of tabs, the 3rd level of tabs is displayed correctly.
Perhaps there is a solution for using three nested repeaters, but do you have to do it this way? The ASP.NET TreeView control might be a better fit for what you are after. You are after all, by default, connecting all three of your SiteMapDataSources to the same web.sitemap. You could cut this down to using one single treeview and one single siteMapDataSource, and achieve the same, plus a lot more functionality.