RadTextbox input behaving like watermark

2 posts, 0 answers
  1. Yosief
    Yosief avatar
    26 posts
    Member since:
    Mar 2008

    Posted 14 Mar 2013 Link to this post

    Hi All

    I've a RadTextbox in one of my .ascx files in a Sitefinity 5.4 website.. When a form containing the RadTextbox is submitted and there is some error thrown by the server, and the user goes back and tries to resubmit the form, there is validation message appearing even if there is input showing from the initial submission. It looks like the input from the first submission is treated as watermark.

    Any idea why this is happening?

    Thanks
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 19 Mar 2013 Link to this post

    Hello Yosief,

    It is known limitation of the new rendering of RadInputControl. Check these blogs:
    http://blogs.telerik.com/blogs/posts/11-11-18/get-better-performing-input-fields-in-your-asp-net-ajax-apps.aspx
    http://blogs.telerik.com/blogs/posts/12-06-22/changes-in-radinput-in-q2-2012-version-of-radcontrols.aspx
    When you load the page again, the browser itself populate these values, but the internal value of the control is the old one, and it does not use the visible value as actual value.
    We are researching on possible ways for fixing this, but with no success at this moment. As alternative of the TextBox you can use RadInputManager with Asp:TextBox. The Manager works entirely differently, and can handle these cases.

    Kind regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top