RadInputManager Q1 2010 EmptyMessage behavior fails after postback

6 posts, 1 answers
  1. rootberg
    rootberg avatar
    38 posts
    Member since:
    Oct 2012

    Posted 05 Apr 2010 Link to this post

    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.
  2. rootberg
    rootberg avatar
    38 posts
    Member since:
    Oct 2012

    Posted 07 Apr 2010 Link to this post

    Since this looks more like a bug then something I am doing wrong, I opened a ticket on this (297266).
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 07 Apr 2010 Link to this post

    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.
  5. Herve
    Herve avatar
    39 posts
    Member since:
    Jun 2008

    Posted 29 Jun 2010 Link to this post

    Hi,

    Any news about that issue ?

    Thanks,


    Herve
  6. rootberg
    rootberg avatar
    38 posts
    Member since:
    Oct 2012

    Posted 29 Jun 2010 Link to this post

    yah... it is fixed in the latest builds.
  7. Herve
    Herve avatar
    39 posts
    Member since:
    Jun 2008

    Posted 29 Jun 2010 Link to this post

    Works fine, great, thank you
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017