Skip to content

End date should not be less than Start Date in Gridview

Aamir Khan

Asked Jul 5, 2012, 12:45 AM EDT1 answer
Share
LinkedInX
hi Friends,
I have two Columns namely Start Date and End Date in my GridView. I am using Ajax's CalendarExtender for them...i need that End date should not be less than start Date.
 
wht could be done in this case?
 
Regards,
aamir

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    <asp:comparevalidator id="cv" runat="server" display="Dynamic" forecolor="red" type="Date" operator="GreaterThanEqual" controltocompare="txtFrom$txtFromDate" controltovalidate="txtEnd$txtEndDate" xmlns:asp="#unknown"> End Date should not less than Start Date</asp:comparevalidator>
    0