RadInputManager Problem

2 posts, 0 answers
  1. Dick
    Dick avatar
    36 posts
    Member since:
    Sep 2007

    Posted 30 Jun 2011 Link to this post

    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
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 05 Jul 2011 Link to this post

    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.

Back to Top