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

[Solved] Custom DataAnnotations and Client Side Validation With DatePicker

1 Answer 139 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.
David Guthu
Top achievements
Rank 1
David Guthu asked on 23 Jan 2011, 07:16 AM
Is it possible to have client side validation work on the datepicker control when using a custom dataannotation attribute on the viewmodel?  If so can someone please post an example.  I don't want to hand write javascript each time I have to do this, I want to be able to use a function and have it just work whenever I put the given attribute on the model.  I'm using the latest telerik controls with MVC3. 

Much appreciated.

David

1 Answer, 1 is accepted

Sort by
0
Tyler
Top achievements
Rank 1
answered on 02 May 2012, 02:56 PM
Tags
Date/Time Pickers
Asked by
David Guthu
Top achievements
Rank 1
Answers by
Tyler
Top achievements
Rank 1
Share this question
or