Radmenu Group Items by Header

5 posts, 0 answers
  1. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jul 2012

    Posted 10 Jul 2012 Link to this post

    Please let me know how to group the Radmenu items by headers. I binding the menu with data from SiteMapDataSource
    I need to group the items similar to the menu that I see on telerik site

    Say in the URL : http://www.telerik.com/community/forums/new-thread.aspx?forumId=250 under the Main Menu item "Products", items of the menu are grouped under a header

     "WEB UI CONTROLS & COMPONENTS",
     "DESKTOP UI CONTROLS & COMPONENTS"
     "DATA TOOLS"

    Thanks
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 12 Jul 2012 Link to this post

    Hello Thomas,

    Please refer to the following demos of the RadMenu and the RadSiteMap control where you can find very good examples of the appearance that you need to achieve:
    • http://demos.telerik.com/aspnet-ajax/sitemap/examples/default/defaultcs.aspx
    • http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx

    Kind regards,
    Kate
    the Telerik team
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jul 2012

    Posted 12 Jul 2012 Link to this post

    Thankyou. Yes I can go for megadropdown, but I see a separate sitemap is used for each menu item. I am using sitemapdatasource (web.Sitemap) and if I am going through the route of megadropdown I need to have "N" number of sitemapdatasource for each main menu item. Please let me know if there is a way to use a single sitemap (web.sitemap) and implement a functionality similar to megadropdown.
    I am also controlling the visibility of menu item based on user roles.

    Thanks

  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 17 Jul 2012 Link to this post

    Hi Thomas,

    The menu in the url that you provided for an example of the appearance consists mainly of div-s and unordered lists tags. However, one approach that I can think of is that you use custom attributes as implemented in this KB.

    Greetings,
    Kate
    the Telerik team
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jul 2012

    Posted 17 Jul 2012 Link to this post

    Thanks
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017