May have encountered a bug with validation on RadMaskedTextbox with RequiredFieldValidator, where the textbox remains invalid despite a valid input being entered.
Steps to replicate:
- Enter a complete, valid number
- Click outside of textbox
- Click back into textbox and delete some numbers
- Click outside of textbox to get the validation message
- Now enter a complete, valid number again - still treated as invalid and error message remains displayed.
Markup:
<
h4
>Telephone:</
h4
>
<
telerik:RadMaskedTextBox
ID
=
"tbTelephone"
runat
=
"server"
Width
=
"164px"
Skin
=
"Silk"
Mask
=
"###########"
RequireCompleteText
=
"true"
/>
<
asp:RequiredFieldValidator
ID
=
"rfvTelephone"
runat
=
"server"
Display
=
"Dynamic"
CssClass
=
"validation"
Text
=
"*Required"
ControlToValidate
=
"tbTelephone"
/>