Setting Header Text Styling When Selecting Dropdown Options

2 posts, 0 answers
  1. Robert
    Robert avatar
    2 posts
    Member since:
    Aug 2014

    Posted 28 Aug 2014 Link to this post

    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
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 29 Aug 2014 Link to this post

    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.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top