SHARE
TWEET

Bootstrap menu

a guest Sep 16th, 2015 25 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.              <asp:SiteMapDataSource ID="srcMenu" runat="server" ShowStartingNode="False" SiteMapProvider="menuProvider" />
  3.  
  4.             <jkcore:BootstrapMenu ID="ctlMainMenu" runat="server" RenderingMode="List"
  5.              IncludeStyleBlock="false"
  6.              Orientation="Horizontal"
  7.              DataSourceID="srcMenu"
  8.              OnDataBound="MainMenu_DataBound" OnMenuItemDataBound="MainMenu_MenuItemDataBound">                          
  9.  
  10.             </jkcore:BootstrapMenu>
  11.  
  12.  
  13. Output:
  14.  
  15. <div class="AspNet-Menu-Horizontal" id="ctl00_ctlMainMenu" style="float: left;">
  16.                 <ul class="AspNet-Menu static" tabindex="0" role="menubar" style="position: relative; width: auto; float: left;">
  17.                         <li class="AspNet-Menu-Leaf  AspNet-Menu-Selected static" role="menuitem" style="position: relative; float: left;">
  18.                                 <a href="/SiteUrl1/Default.aspx" class="AspNet-Menu-Link  AspNet-Menu-Selected static" title="Terug naar het begin" tabindex="-1">
  19.                                         Home</a>
  20.                         </li>
  21.                 </ul>
  22. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top