validation controls problem

  • Thread starter Thread starter Anoj Kumar
  • Start date Start date
A

Anoj Kumar

Hi All ,

I am facing very strange kind of problem.
I am using few validation controls ( requiredfield validation, and
regexvalidation)
on a form. I've set the validion to occour at the client side. At my local
system everything
is working fine but at the server.. client side validation is not working ..
rather it shows the
validation messages after the form is posted .

Kindly help.

Regards,

Anoj Kumar
 
Hi Anoj Kumar,

personally i wud suggest you to have the validations done at both the levels
client/server.
The reason behind this is there are browsers which does not support this
(CustomValidators not being supported on Netscape 7.0), so your validations
cud be bypassed at the client side. Also Please check Page.IsValid on the
button click before procedding to do any processing.

HTH
 

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

Back
Top