<asp:CompareValidatorID="cvDateTimeCheck"runat="server" ErrorMessage="Not a valid datetime data type."Type="Date"Operator="DataTypeCheck"></asp:CompareValidator>
Please note that we are discussing about MVC and NOT about classic ASP.NET. These kind of server sided controls DO NOT work in ASP.NET MVC.
Yeah I kind of thought that aswell...but thanks for trying to help srinivas!
sachingusain
Will the code your wrote above(your custom-validation class) also "kick in" as a client side validation?..or will I have to build my own Javascript validator for that?
Inx
Member
53 Points
217 Posts
Re: CustomValidation?
Nov 22, 2010 07:27 PM|LINK
Yeah I kind of thought that aswell...but thanks for trying to help srinivas
!
sachingusain
Will the code your wrote above(your custom-validation class) also "kick in" as a client side validation?..or will I have to build my own Javascript validator for that?