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

[Solved] Is there a change event for invalid values for the ASP.NET MVC Datepicker?

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tom
Top achievements
Rank 1
Tom asked on 10 Oct 2012, 03:06 PM
Based on the demo at: http://demos.telerik.com/aspnet-mvc/datepicker/clientsideevents, there doesn't appear to be a client-side event raised for a change to the datepicker's input field that doesn't pass the control's built-in validation.

Is there any telerik event for this or I will have to use a OnLoad handler to bind to DOM events on the input or follow another suggested best practice for this situation?

1 Answer, 1 is accepted

Sort by
0
Accepted
Petur Subev
Telerik team
answered on 15 Oct 2012, 07:52 AM
Hello Tom,

Indeed there is no event fired when the users try to change the value to an invalid one. As you already said you need to manually attach to the DOM event of the input element.

Kind Regards,
Petur Subev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
General Discussions
Asked by
Tom
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or