This question is locked. New answers and comments are not allowed.
Hi,
I am using the telerik datetime picker to select a date on form. If user types an invalid date and submits the partial view, it fails on rendering the the return partial view with exception "The parameter conversion from type 'System.String' to type 'System.DateTime' failed with inner exception "String was not recognized as a valid DateTime". Due to this, the custom error page is returned by the website and the form is not displayed. Ideally, I want the form to be displayed with the incorrect value retained. How can this be achieved?
Regards,
Kunal Chachad
I am using the telerik datetime picker to select a date on form. If user types an invalid date and submits the partial view, it fails on rendering the the return partial view with exception "The parameter conversion from type 'System.String' to type 'System.DateTime' failed with inner exception "String was not recognized as a valid DateTime". Due to this, the custom error page is returned by the website and the form is not displayed. Ideally, I want the form to be displayed with the incorrect value retained. How can this be achieved?
Regards,
Kunal Chachad