Is there something along the lines of:
txtDateBox is a textbox that user enters a date into...
if( Convert.ToDateTime(txtDateBox.Text).IsValidDate == true ) //would return bool true or false...
then date is valid
then date is NOT valid
I absolutely don't want to use validator controls! They wreak havok on my pages - I'd rather not use them. And they freeze the entire page if you don't enter in a correct date! I need a backend way to validate whether it is a valid date or not. There has to be a way - can anybody help?
Thanks in advance.