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

[Solved] MVC DatePicker Error CSS

0 Answers 73 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff
Top achievements
Rank 1
Jeff asked on 14 Dec 2010, 05:52 PM
Greetings,

When I enter an invalid date into the MVC DatePicker control (i.e. 12/32/2010) the value automatically changes to 1/1/2011. How can I disable this functionality and simply have the Error CSS applied instead? I want the control to highlight red instead of the date value changing.

Thanks.
 Jeff
Tags
Date/Time Pickers
Asked by
Jeff
Top achievements
Rank 1
Share this question
or