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

RadInputManager Q1 2010 EmptyMessage behavior fails after postback

5 Answers 80 Views
Input
This is a migrated thread and some comments may be shown as answers.
rootberg
Top achievements
Rank 2
rootberg asked on 05 Apr 2010, 05:22 PM
If I use the RadInputManager Validation for a given text box, and set it to required, after post back, the "EmptyMessage" behavior fails to work, and that text becomes the actual text that displays.

To recreate this situation outside of my application, I took the "Ajax" validation sample (http://demos.telerik.com/aspnet-ajax/ajax/examples/common/validation/defaultcs.aspx) and added a RadInputManager too it directly after the closing of the table:
          <telerik:RadInputManager ID="RadInputManager1" runat="server">
                <telerik:TextBoxSetting EmptyMessage="Enter Name"  InitializeOnClient="true"
                ErrorMessage="Name Required"
                Validation-IsRequired="true"
                Validation-ValidateOnEvent="All" >
                    <TargetControls>
                        <telerik:TargetInput ControlID="tbName" />
                    </TargetControls>
                </telerik:TextBoxSetting>
           </telerik:RadInputManager>
I then removed the "RequiredFieldValidator" named "RequiredFieldValidator1" to eliminate the redundant validation.

Upon submitting the form without entering any text entered in the text box, the error message is displayed in the text box as it should, but when you attempt to enter text in the text box, you find that the text box is filled with the "EmptyMessage" text, and the user must manually delete the text before entering the desired text.

5 Answers, 1 is accepted

Sort by
0
rootberg
Top achievements
Rank 2
answered on 07 Apr 2010, 03:15 PM
Since this looks more like a bug then something I am doing wrong, I opened a ticket on this (297266).
0
Accepted
Tsvetoslav
Telerik team
answered on 07 Apr 2010, 04:45 PM
Hello Yael,

I have replied to your post # 297266. Please, close the current one - our development team will be addressing the problem soon.

All the best,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Herve
Top achievements
Rank 2
answered on 29 Jun 2010, 01:25 PM
Hi,

Any news about that issue ?

Thanks,


Herve
0
rootberg
Top achievements
Rank 2
answered on 29 Jun 2010, 01:29 PM
yah... it is fixed in the latest builds.
0
Herve
Top achievements
Rank 2
answered on 29 Jun 2010, 02:02 PM
Works fine, great, thank you
Tags
Input
Asked by
rootberg
Top achievements
Rank 2
Answers by
rootberg
Top achievements
Rank 2
Tsvetoslav
Telerik team
Herve
Top achievements
Rank 2
Share this question
or