We use the RadInputManager to a validate TextBox. When validation fails an error message is displayed in the textbox. When i enter the TextBox to correct the error the TextBox is empty!
Below the code:
What is going wrong here?
Regards,
Dick van Straaten
Below the code:
<telerik:RegExpTextBoxSetting BehaviorID="RegExpTextBoxSetting3" IsRequiredFields="true" Validation-IsRequired="true" ValidationExpression="^.*(?=.{6,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=]).*$"> <%--Must be at least 10 characters Must contain at least one one lower case letter, one upper case letter, one digit and one special character Valid special characters (which are configurable) are - @#$%^&+=--%> <TargetControls> <telerik:TargetInput ControlID="tbPassword" /> </TargetControls> </telerik:RegExpTextBoxSetting><asp:TextBox ID="tbPassword" runat="server" CssClass="FormTextBox"></asp:TextBox>What is going wrong here?
Regards,
Dick van Straaten