ASP.Net 2.0 - Having problem with validation on deployed version

  • Thread starter Thread starter JimCinLA
  • Start date Start date
J

JimCinLA

I have Requierd Field validators with several controls on a form.
The Requires Validation property on the fields are set to True.
In Debug mode, the validators work as expected. If the
fields are left blank, then the warning message is displayed
when the form is submitted.

But the behavior changes when the project is deployed. The
validators don't work any more.

Any clues to what's happening?
 
Are you validating on the server as well. If JavaScript is disabled and you
are not validating on Server it's just like having no validation.

Try some code to test IsPageValid, if not response.Write something like
Validation Failed!!
 
Back
Top