RadMenu and SiteMapPath

2 posts, 0 answers
  1. Banca del Ceresio
    Banca del Ceresio avatar
    11 posts
    Member since:
    Jun 2008

    Posted 08 Oct 2009 Link to this post

    Hi everybody,

    I trying to find a way to bind my rad menu with a siteMapPath but I can't find a way to do it.

    On my master page I hate a menu item



    telerik:RadMenu ID="RadMenu1" runat="server" Skin="Vista">

    that i dinamically populated non my code behind page in the following way


    RadMenu1.DataTextField =



    RadMenu1.DataFieldID =



    RadMenu1.DataFieldParentID =



    RadMenu1.DataNavigateUrlField =



    RadMenu1.DataSource = GetMenu(Context.User.Identity.Name.ToString());


    Is there a way tu use the asp:SiteMapPath? Or is there a better way?

    Thanx a lot for the Help


    PS: I still use the telerik 2008 Q1


  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Oct 2009 Link to this post

    Hello Raphael,

    You can use a SiteMapDataSource control inorder to bind your RadMenu to a sitemap. You can set the DataSourceId of the RadMenu to that of the SiteMapDataSource. Check out the following help document to understand better:
    Binding to Hierarchical DataSource Components

    Hope this helps..
Back to Top