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

How the RadMenu's arrows replace with css?

7 Answers 194 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Esra
Top achievements
Rank 1
Esra asked on 23 Jun 2014, 07:05 AM
Hi,

I have bind Radmenu using SqlDataSource but  I could not edit menu of the visual part.
How do I adjust the arrow with css if you could help?

King Regards
Esra

7 Answers, 1 is accepted

Sort by
0
Aneliya Petkova
Telerik team
answered on 24 Jun 2014, 08:18 AM
Hello Esra,

There are expand arrow classes that are added to the .rmText element in all RadMenu levels, including root. The classes are : .rmExpandRight, .rmExpandLeft, .rmExpandBottom and .rmExpandTop. You could use them to specify the arrow image via the background CSS attribute.
Please check the following help articles with the table that lists CSS Skin File Selectors:
http://www.telerik.com/help/aspnet-ajax/menu-appearance-css-selectors.html

Regards,
Aneliya Petkova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Esra
Top achievements
Rank 1
answered on 24 Jun 2014, 12:14 PM
I've viewed the page you suggested earlier. I've done the experiment described on page but didn't. Can you give examples?

Thanks
0
Accepted
Magdalena
Telerik team
answered on 24 Jun 2014, 02:08 PM
Hello Esra,

Everything depends on what exactly you need to customize and on which element. Please explain to us in more details the style you need to change.
I made a simple project for you showing how you could change expand arrows on Root RadMenu items, using Classic Render mode, sprite image and ShowToggleHandle property is set on the menu.If you need to change the arrows on the sub menu items, the easiest way to do that is to use Lightweight render mode. Please inspect the project and let me know if this works for you.

Regards,
Aneliya Petkova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Esra
Top achievements
Rank 1
answered on 30 Jun 2014, 06:51 AM
Thank you very much.

Good Work.
0
Esra
Top achievements
Rank 1
answered on 05 Jul 2014, 11:56 AM
Hello Aneliya,

Your reference to a vertical menu I've applied to 'html .RadMenu .rmVertical .rmRootLink .rmIcon'  but not display.
0
Magdalena
Telerik team
answered on 09 Jul 2014, 11:31 AM
Hello Esra,

RadMenu in classic render mode uses a background sprite image for hover effect because of rounded corners and supported the control in old browsers as well. The expand arrow in vertical Menu is on the same image as a hover effect. So if you would like to change the arrow, it is necessary to create custom sprite with all states of all items (root items and sub-items) as well. Because of this we would like to recommend you to use lightweight render mode for this purpose. In lightweight render mode are used font icons for expand arrows and this makes the customization much more easier. Please, find an exemplar solution in the attachment.

Regards,
Magdalena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Esra
Top achievements
Rank 1
answered on 09 Jul 2014, 12:28 PM
Thank you for the example you gave. It was enough only  to change rendering mode for I wanted.

Regards,
Esra
Tags
Sharepoint Integration
Asked by
Esra
Top achievements
Rank 1
Answers by
Aneliya Petkova
Telerik team
Esra
Top achievements
Rank 1
Magdalena
Telerik team
Share this question
or