Validator controls

  • Thread starter Thread starter nemo
  • Start date Start date
N

nemo

I've a Range validator and a Compare Validator - both against a $
amount field on the form. Now, if the validations fail, I don't want
the submit button (alongside the amount field) to work. However I do
want a couple of other buttons on the same form to work in spite of the
invalid entries in the amount field. Is this possible in asp.net?

thanks
 
Hi Nemo,

Try setting CausesValidation = false;.

Regards,
Jack Li
MVP (ASP.NET)
 

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