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

Using with the invalid style of RegExpTextBoxSetting to RadComboBox

1 Answer 68 Views
Input
This is a migrated thread and some comments may be shown as answers.
rachel
Top achievements
Rank 1
rachel asked on 11 Oct 2010, 05:01 PM
Hello !
I'm using with your RegExpTextBoxSetting for TextBoxs. in my page there is also a RadComboBox and this combo is required.
I can use with the asp:ReuiredFieldValidator but the behaviour is different. I want that the combo will get the style like the textbox when it get invalid value.
my qustion is, if is there any way to use with asp:ReuiredFieldValidator  and when it got invalid, set the wrong style in the RadComboBox.
or any other solution ?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 15 Oct 2010, 01:08 PM
Hi rachel,

I'm sorry for the late reply.

I suggest to use CustomValidator and set CssClass property of the combobox when its text is empty. I've attached a simple page to demonstrate the approach, please download it and give it a try.

Kind regards,
Yana
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Input
Asked by
rachel
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or