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

RadTextbox input behaving like watermark

1 Answer 69 Views
Input
This is a migrated thread and some comments may be shown as answers.
Yosief
Top achievements
Rank 2
Yosief asked on 14 Mar 2013, 01:02 PM
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

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 19 Mar 2013, 12:34 PM
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.
Tags
Input
Asked by
Yosief
Top achievements
Rank 2
Answers by
Maria Ilieva
Telerik team
Share this question
or