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

RadDateInput

1 Answer 24 Views
Input
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 22 Oct 2010, 07:58 PM
I'm using the RadDateInput and after I keyin a invalid date and do a postback the invalid date is getting cleared. Is there a way to prevent this from happening on both the RadDateInput and the RadDatePicker?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 27 Oct 2010, 11:19 AM
Hello Richard,

One possible option for achieving the required functionality is to use the Input OnKeyDown or OnBlur event, get the entered value in this event and keep it in hidden input on the page. If the validation failed you could set it back to the input.

Greetings,
Maria Ilieva
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
Tags
Input
Asked by
Richard
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or