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

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?
 
H

Henry

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!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top