This is a migrated thread and some comments may be shown as answers.
RadInputManager Error Message disappears
3 Answers 23 Views
This is a migrated thread and some comments may be shown as answers.
DW Web Team Member
Top achievements
Rank 2
DW Web Team Member asked on 11 Apr 2011, 05:51 PM
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" />

3 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 14 Apr 2011, 09:37 AM
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.

0
Tatiana
Top achievements
Rank 2
answered on 14 Apr 2011, 01:24 PM

I am using the Q3 2009 version of the RadControls and IE 8.
0
Pavel
Telerik team
answered on 15 Apr 2011, 07:55 AM
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.

Tags
Input
Asked by
DW Web Team Member
Top achievements
Rank 2
Answers by
Pavel
Telerik team
Tatiana
Top achievements
Rank 2
Share this question
or