Author: fornarat | Posted on: 11/13/2008 8:26:35 AM | Views : 275

Hi
I have a gridview with an edittemplate with one textbox (for date input) and one calendar, so the user can enter the date thru the textbox or thru de calendar (I set the selected value to the textbox using js).The gridview´s datasource is an objectdatasource.

My question is how I can validate that the user enter a valid date format, and then programatically validate than the date is < or > other stored in the database (for simplicity let´s suposse that the date to compare to is a constant)

 Any help will be apreciatted!
 
 
 
...

Go to the complete details ...