Blue Ink
Blue InkHomeBlue Ink SolutionsArticlesBlue Ink Net CommunityBlue Ink Demo ApplicationAbout Automated Architecture
My Profile
login/register
0

question on solution 4 of "Nine ASP.NET Site Navigation Problem Solutions.

View General Forum | Post Response | New Topic

Author Message
wlin
Aug 23 2006
8:42 AM
I want to display a three levels site map as three levels of tabs. I use three repeater controls and three SiteMapDataSource controls as described in the article as follows:

<asp:Repeater ID="Repeater1" runat="server" DataSourceID="srcBuckets">
<asp:Repeater ID="Repeater2" runat="server" DataSourceID="srcPails">
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="srcContents">

<asp:SiteMapDataSource ID="srcBuckets" runat="server" ShowStartingNode="False"/>
<asp:SiteMapDataSource ID="srcPails" runat="server" ShowStartingNode="False" StartingNodeOffset="1" />
<asp:SiteMapDataSource ID="srcContents" runat="server" ShowStartingNode="False" StartingNodeOffset="2" />

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. 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.

Appreciate your help.

View General Forum | Post Response | New Topic






ARTICLES

What is Rapid Application Development?


QUESTIONS?

Call us toll free:
(877) 756-3595

Or Visit Forums

    

Copyright © 2017 Automated Architecture, Inc. All rights reserved.