I have an asp.net FormView with a bound date field. The form is bound to an SQL 2008R2 database. I would like to be able to use a validation control to check that a date is less than or equal to today. I know I can do it with a custom validator but wondered
if one of the standard validation controls could be used, and if so, how? Thanks.
Below is my form code.
<asp:TextBox ID="txtDeliveryDate" runat="server" Text='<%# Bind("DeliveryDate", "{0:d}") %>' Width="90" />
<cc1:CalendarExtender ID="CalendarExtender19" runat="server" TargetControlID="txtDeliveryDate">
</cc1:CalendarExtender>
Go to the complete details ...