Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <asp:SiteMapDataSource ID="srcMenu" runat="server" ShowStartingNode="False" SiteMapProvider="menuProvider" />
- <jkcore:BootstrapMenu ID="ctlMainMenu" runat="server" RenderingMode="List"
- IncludeStyleBlock="false"
- Orientation="Horizontal"
- DataSourceID="srcMenu"
- OnDataBound="MainMenu_DataBound" OnMenuItemDataBound="MainMenu_MenuItemDataBound">
- </jkcore:BootstrapMenu>
- Output:
- <div class="AspNet-Menu-Horizontal" id="ctl00_ctlMainMenu" style="float: left;">
- <ul class="AspNet-Menu static" tabindex="0" role="menubar" style="position: relative; width: auto; float: left;">
- <li class="AspNet-Menu-Leaf AspNet-Menu-Selected static" role="menuitem" style="position: relative; float: left;">
- <a href="/SiteUrl1/Default.aspx" class="AspNet-Menu-Link AspNet-Menu-Selected static" title="Terug naar het begin" tabindex="-1">
- Home</a>
- </li>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement