Horizontal Line Separator in RadSiteMapNode

5 posts, 0 answers
  1. Daniel Lisowski
    Daniel Lisowski avatar
    18 posts
    Member since:
    Mar 2009

    Posted 09 Jun 2011 Link to this post

    I have a RadMenu which uses different types of drop-down menus. In this example the "Lists & Libraries" menu is a dynamic menu pulling from the SiteMapDataSource. As you can see it lists the titles and sub-content from the site. However, when using a Site Map control for the "Tools & Resources" the title of each group has a horizontal line separating it from the content of that group. I want these different types of menu to look exactly the same.  How do I accomplish this? What would be optimal is to include this horizontal line in every menu title, but if this is not possible I would settle for removing the horizontal line from every menu title. Any ideas?





    thanks
    Alex Dove
  2. Daniel Lisowski
    Daniel Lisowski avatar
    18 posts
    Member since:
    Mar 2009

    Posted 09 Jun 2011 Link to this post

    I have tried adding the <telerik:RadMenuItem IsSeparator="true" ...> attribute, however, it does not give me what I need. It actually breaks the menu control. Any other ideas?

    Thanks
    Alex Dove
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 14 Jun 2011 Link to this post

    Hi Alex,

    Please take a look at the "Menu / Mega Drop-Down" online demo.
    I suppose that the appearance you want to achieve is similar (or the same) to the appearance of the "Products" RadMenuItem, and you will be able to use the approach demonstrated in this sample in your application.

    Best wishes,
    Kalina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Parag
    Parag avatar
    1 posts
    Member since:
    Aug 2010

    Posted 06 Oct 2012 Link to this post

    How do you place horizontal separators between nodes?
  6. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 11 Oct 2012 Link to this post

    Hello Parag,

    With the RadSiteMap control you can use the level settings in order to add a separator:
    <telerik:SiteMapLevelSetting Layout="Flow" SeparatorText="┊" MaximumNodes="3" />

     Here you can refer to the demo for a runnable example. 

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017