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

RadInputManager Problem

1 Answer 37 Views
Input
This is a migrated thread and some comments may be shown as answers.
Dick
Top achievements
Rank 1
Dick asked on 30 Jun 2011, 10:35 AM
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:
<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

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 05 Jul 2011, 10:18 AM
Hi Dick,

Can you make a video showing what happens? You can use Jing for that and upload the video at www.screencast.com. If this is not applicable, can you elaborate when the textbox is empty - when you focus it or when you try to get the Text afterwards? And what is expected to happen?

Greetings,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Input
Asked by
Dick
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or