Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

custom validator

Status
Not open for further replies.

xloop

Programmer
Nov 12, 2001
86
GB
Does .NET have a mind of it's own or what...

OK, using a custom Validator to check if a time (entered in a textbox) is in the past or not, if it is then args.IsValid = false;

This works fine when i enter numerical data, ie. 09:00 works fine and the event fires.. it will even work if i put a time in the past.

BUTTT, if i put alphanumerical data in the server side event doesn't fire at all!!!!

Whyyyy????

Thanks
 
are you creating a client-side javascript function to accomplish this?? returning either a true or false??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top