Set enabled/disabled styling on RadComboBox

3 posts, 1 answers
  1. RMM
    RMM avatar
    11 posts
    Member since:
    Sep 2014

    Posted 17 Aug 2015 Link to this post

    Hi

    Is it posible to set the styling of the input field of a RadComboBox depending on wether a pre-selected item is enabled og disabled?

  2. Answer
    Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 20 Aug 2015 Link to this post

    Hello Rene,

    You can handle the OnClientLoad and OnClientSelectedIndexChanged client-side events of the control, in order to check if the defaulted selected item is disabled and style the input of the control. In the attachment you can find a simple example on how this could be achieved.

    Regards,
    Nencho
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RMM
    RMM avatar
    11 posts
    Member since:
    Sep 2014

    Posted 20 Aug 2015 in reply to Nencho Link to this post

    It works great, thanks :-)
Back to Top