problme with RadMenu

2 posts, 0 answers
  1. alfredo
    alfredo avatar
    4 posts
    Member since:
    Feb 2014

    Posted 14 Feb 2014 Link to this post

    hi
    in Web.sitemap =>

    <?xml version="1.0" encoding="utf-8" ?>
    <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
      <siteMapNode title="Home" url="Default.aspx">
        <siteMapNode title="info Base" url="">
          <siteMapNode title="Provinces" url="~/AppUsers/addProvince.aspx"/>
          <siteMapNode title="Cities" url="~/AppUsers/addCity.aspx" />
          <siteMapNode title="Sender" url="~/AppUsers/addFactory.aspx" />
          <siteMapNode title="NMP" url="~/AppUsers/addRepresentation.aspx"/>
    </siteMapNode>

    and in web from =>


     <telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="RadSiteMapDataSource1" Skin="Web20" >  </telerik:RadMenu>
     <telerik:RadSiteMapDataSource ID="RadSiteMapDataSource1" runat="server" ShowStartingNode="false"  />


    but when i see menu , menu show title and url . i wana to show title only in menu
    show picture ( attach pic )
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 19 Feb 2014 Link to this post

    Hello,

    Please refer to this help article that demonstrates how you can bind the RadMenu to a  SiteMapDataSource. It shows how you can use the RadMenu ItemDataBound event in order set additional attributes or properties to the menu item based on the site map data item.


    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top