custom validation

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

Why do the validation server controls behave differently on my live site
from on my local development machine?

I have several text boxes that are validated by Required Validators and
a couple of Regular Expression Validators, and then I have a Custom
Validator which I use to check for a valid email address and database
stuff.

On my local machine, the validation works by first checking if the
Required and Regular Expression Validators are met, and if so it goes to
the procedure listed in the OnServerValidate of my Custom Validator.

However, on my live site, the Custom Validator seems to be called
whether or not the other Validators have been met.

Does anybody else have this problem, and if so can anybody tell me why
it happens?


Any help would be much appreciated.

Cheers,

Mike
 
Do you have an aspnet_client folder on your web server? Might wanna run
aspnet_regiis -c from the folder:
C:\windows\microsoft.net\framework\v1etc

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only
 
Back
Top