Click here to Skip to main content
15,886,026 members

Response to: Confirm Date must be greater than Join Date using customeValidator

Revision 2
With the very less information you have posted , I am posting my most probable guess

JavaScript
if (myDate < myDate2)
                args.IsValid = true;
            else
                args.IsValid = false;


Date of join should be less than the confirmation date. Only in that case the .IsValid is true

NOTE: Instead of using javascript, you can use the CompareValidator in asp.net
Posted 19-Aug-12 22:55pm by bbirajdar.