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

RadComboBox Validation and set style similar to RadTextBox

1 Answer 123 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jidesh Guptha
Top achievements
Rank 1
Jidesh Guptha asked on 18 Nov 2010, 12:08 PM

Hi,

I have to validate my RadComboBox with custom validator and if the validation is failed i have to set the style as the textbox image attached. Pls. Guide me how to achieve this.
 
Additional info: in text box we have the following code

textbox._invalid = true;
textbox.updateCssClass();

What is the similar one for RadComboBox.

Jidesh

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Nov 2010, 01:47 PM
Hello,


I am not sure about whether RadComboBox supports InvalidStyle like textbox control. But one work-around you can try is showing the image in the input field of combobox. The approach is described in teh code library.
Show the selected Item image in input



-Shinu.
Tags
ComboBox
Asked by
Jidesh Guptha
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or