Required field validators

  • Thread starter Thread starter Eric Sabine
  • Start date Start date
E

Eric Sabine

Can I have RequiredFieldValidators only apply conditionally? For example, a
page has 2 sections, top and bottom. I want the requireFieldValidators on
the top to only be applicable when I click a button in that area. Likewise,
I only want those on the bottom to test for data when the user clicks on the
bottom button.

Thanks
Eric
 
Hi eric,

each time you click a botton, you should post the page back to the
server. In the event handling the Button click you should enable or
disable the validators.

Hope this help

Stefano Mostarda
Rome Italy
 

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