RadInputManager Error Message disappears

4 posts, 0 answers
  1. DW Web Team Member
    DW Web Team Member avatar
    43 posts
    Member since:
    Jun 2012

    Posted 11 Apr 2011 Link to this post

    Hi,

    As you can see from the code, the text box is required to have a value. The text box has no value. I click on the button first time everything is working correctly and I have the "Error!" message inside the textbox. When I click on the button second time without changing anything, the text box still has the error style but the message disappears. And if I have EmptyMessage set up, it would appear instead of the error message. How can I make the error message stay?
    Thank you

    <asp:TextBox ID="txtTest" runat="server" />
    <telerik:RadInputManager ID="RadInputManager1" runat="server" EnableEmbeddedSkins="true" Skin="Default">
        <telerik:TextBoxSetting BehaviorID="bhTest" ErrorMessage="Error!" 
            Validation-IsRequired="true" Validation-ValidationGroup="ValidationSummary1">
            <TargetControls>
                <telerik:TargetInput ControlID="txtTest" />
            </TargetControls>
        </telerik:TextBoxSetting>
    </telerik:RadInputManager>
    <asp:Button ID="btnTest" runat="server" ValidationGroup="ValidationSummary1" Text="Test" />
  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 14 Apr 2011 Link to this post

    Hello,

    I cannot reproduce the described problem with the provided markup. Can you confirm it is sufficient to replicate the behavior? Also please specify on what browsers are you observing the undesired behavior and what version of the controls are you using.

    Best wishes,
    Pavel
    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tatiana
    Tatiana avatar
    19 posts
    Member since:
    Nov 2008

    Posted 14 Apr 2011 Link to this post


    I am using the Q3 2009 version of the RadControls and IE 8.
  5. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 15 Apr 2011 Link to this post

    Hi Tatiana,

    In that case please update to the latest release, as the problem does not exist with it.

    All the best,
    Pavel
    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