Hi all,
I have a textbox where user can enter issue
date of credit card. I want to make sure that whatever date user enters
is a valid date and not greater than today. I have used compare
validator, it validates fine if user enters wrong date. but how to
apply check that date entered is less than today. I have used folloing
validator
<asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Invalid date"
Display="Dynamic" Operator="DataTypeCheck" Type="Date"
ControlToValidate="txtIssueDate"></asp:CompareValidator>
R ...
Go to the complete details ...