2 UpdatePanels - Each w/it's own Validation Summary

G

Guest

Hi. I have an aspx page containing 2 AJAX UpdatePanels. Both panels contain
requiredfieldvalidators & each have a validationsummary control. Both panels
contain a button control that when clicked cause the validation to occur.

Currently if I'm clicking the button in UpdatePanel1 to validate the
requiredfieldvalidators in UpdatePanel1, UpdatePanel2 requiredfieldvalidators
also validate. This will also cause the errormessages from validators in
UpdatePanel2 to display in UpatePanel1's validationsummary control.

How can I run validation for only one specific UpdatePanel on a page, when
more than one UpdatePanels exist on that page?

Thanks
 

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

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top