This is a migrated thread and some comments may be shown as answers.

problme with RadMenu

1 Answer 11 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
alfredo
Top achievements
Rank 1
alfredo asked on 15 Feb 2014, 03:26 AM


<?xml version="1.0" encoding="utf-8" ?>
  <siteMapNode title="Home" url="Default.aspx">
    <siteMapNode title="Base info" url="">
      <siteMapNode title="provinces" url="~/AppUsers/addProvince.aspx"/>
      <siteMapNode title="Cities" url="~/AppUsers/addCity.aspx" />
      <siteMapNode title="Sender" url="~/AppUsers/addFactory.aspx" />
      <siteMapNode title="NVP" url="~/AppUsers/addRepresentation.aspx"/>
    </siteMapNode>


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

hi , this is my code in web.sitemap and web form  but when i show menu , menu show url property(in web.sitemap) in browser . i wana to show only url property .
see attachment picture
please help me

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 19 Feb 2014, 04:59 PM
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.
Tags
Ajax
Asked by
alfredo
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or