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

Setting Header Text Styling When Selecting Dropdown Options

1 Answer 55 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 28 Aug 2014, 02:30 PM
Hello,

Can you please tell me what CSS properties will allow me to set the
'Reports' Menu Header text to White and the Header background to Black
(default background color) when a dropdown option 'Purchase History' is
selected.

Please see attached image.

Thank You in Advance!

Robert

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 29 Aug 2014, 01:08 PM
Hi Robert,

You can achieve this using the select event of the Kendo UI Menu that is fired when an item is selected and then using jQuery to find the parent element and change its CSS properties. Here is an example that I created:

http://dojo.telerik.com/iBuy

Regards,
Kiril Nikolov
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.

 
Tags
Menu
Asked by
Robert
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or