Hi
i am using sharepoint datetime control. i need to validate user entering past date. (should not allow).
<asp:CompareValidator ID="Comparevalidator1" runat="server" ErrorMessage="The date must be greater than today"
ControlToValidate="dtExpiryDate" Operator="LessThanEqual"
Type="date" ValueToCompare='<%# DateTime.Now.ToShortDateString() %>' />
The above code throwing error.
Rgds,
Vinay
View Complete Post