Validation In Seperate Controls conflicting

R

RSH

Hi,

I have a page that uses two seperate user controls (ascx files). Both
controls have textbox controls on them along with seperate submit buttons.
Control #2 has required validators. The problem is that I need the
validator controls to be disabled if the user submits control #1. Right now
Control #1 wont submit because the validators in control #2 are tripped when
the submit button on Control #1 is clicked on. I know how to disable the
validators in a single control based on conditionals, but since the
validators are in a seperate control i don't know how to disable them.

Please help.

Thanks,
Ron
 
R

RSH

Nevermind...I used the CausesValidation property on the button and set it to
false.

Thank God for Google!
 

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,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top