I am trying to validate the input of a military time. However, it always rejects whatever I enter for the time in the RadDateInput field, but the validation works just fine in a textbox. My test code looks like:
The hidden texbox is the actual control, because its ID matches the RadDateInput's ClientID. The visible textbox has a different ID. So the validators work with the hidden textbox. If the control holds an invalid value, the hidden textbox is empty and the validator will receive an empty string as a value. If the control holds a valid value, the validator will receive a value in the above format. So actually you don't have to use a RegularExpressionValidator with RadDateInput in your case - you can either use a RequiredFieldValidator, or a CustomValidator.
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items