Required field validators

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
 
S

Stefano Mostarda

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top