Gets a value indicating whether the posted text can be parsed into a valid DateTime object. If the text value can not be parsed into a DateTime object based on the DateFormat, then false is returned.
false if the text supplied can not be parsed into a valid DateTime object, otherwise true.
Use the IsDate to determine if value supplied in TextBox could be converted into a valid DateTime object. If the TextBox value could not be parsed into a DateTime object, IsDate will be false.
Note See IsDate for more information.
Easily check to ensure date supplied is valid. Example:
if(BDPLite1.IsDate && !BDPLite1.IsNull)
Response.Write("Valid Date");
else
Response.Write("Invalid Date");
BDPLite Class | BasicFrame.WebControls Namespace