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

Set enabled/disabled styling on RadComboBox

2 Answers 33 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
RMM
Top achievements
Rank 1
RMM asked on 17 Aug 2015, 07:36 AM

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 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 20 Aug 2015, 06:53 AM
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
0
RMM
Top achievements
Rank 1
answered on 20 Aug 2015, 11:16 AM
It works great, thanks :-)
Tags
ComboBox
Asked by
RMM
Top achievements
Rank 1
Answers by
Nencho
Telerik team
RMM
Top achievements
Rank 1
Share this question
or