If your referring to the html mark up, I can't show you because it's dynamic, but below is what it looks like in the view source when it's render. Basically based on the what page the user is on, I'm change the display value, which is why I've got an active
and inactive li.
webguy07
Participant
952 Points
234 Posts
Re: Object Error with HtmlGenericControl
Apr 18, 2012 01:43 PM|LINK
If your referring to the html mark up, I can't show you because it's dynamic, but below is what it looks like in the view source when it's render. Basically based on the what page the user is on, I'm change the display value, which is why I've got an active and inactive li.
<ul id="top-navigation"> <li id="tab_homeinactive" runat="server"><span><span><a href="Default.aspx">Home</a></span></span></li> <li id="tab_homeactive" style="display: none;" class="active" runat="server"><span><span>Home</span></span></li> <li id="tab_eventinactive" runat="server"><span><span><a href="Default.aspx">Events</a></span></span></li> <li id="tab_eventactive" style="display: none;" class="active" runat="server"><span><span>Events</span></span></li> <li id="tab_usersinactive" runat="server"><span><span><a href="Users.aspx">Users</a></span></span></li> <li id="tab_usersactive" style="display: none;" class="active" runat="server"><span><span>Users</span></span></li> <li id="tab_reportinginactive" runat="server"><span><span><a href="Reporting.aspx">Reporting</a></span></span></li> <li id="tab_reportingactive" style="display: none;" class="active" runat="server"><span><span>Reporting</span></span></li> <li id="tab_helpinactive" runat="server"><span><span><a href="Help.aspx">Help</a></span></span></li> <li id="tab_helpactive" style="display: none;" class="active" runat="server"><span><span>Help</span></span></li> </ul>