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

Horizontal Line Separator in RadSiteMapNode

4 Answers 117 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Daniel Lisowski
Top achievements
Rank 1
Daniel Lisowski asked on 09 Jun 2011, 03:15 PM
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

4 Answers, 1 is accepted

Sort by
0
Daniel Lisowski
Top achievements
Rank 1
answered on 09 Jun 2011, 10:24 PM
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
0
Kalina
Telerik team
answered on 14 Jun 2011, 05:39 PM
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.

0
Parag
Top achievements
Rank 1
answered on 06 Oct 2012, 04:20 PM
How do you place horizontal separators between nodes?
0
Kate
Telerik team
answered on 11 Oct 2012, 08:49 AM
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.
Tags
Menu
Asked by
Daniel Lisowski
Top achievements
Rank 1
Answers by
Daniel Lisowski
Top achievements
Rank 1
Kalina
Telerik team
Parag
Top achievements
Rank 1
Kate
Telerik team
Share this question
or