ModalPopupExtender and Required Field Validator

M

Mel

Hi, I have a ModalPopupExtender that displays a panel when a button on
the form is clicked. How do I get a required field validator to work
when the user clicks the OK button on the panel? For example, city is
required. I have set the city textbox, the city required field
validator and the OK button in a Validation Group separate from any of
the other controls on the form, however, the city validator is
preventing my form from working as expected (when the panel is not
even visible), it's like it's validating all the time.

(Using VS 2008, AJAX, VB)
 
M

Mel

Hi, I have a ModalPopupExtender that displays a panel when a button on
the form is clicked.  How do I get a required field validator to work
when the user clicks the OK button on the panel?  For example, city is
required.  I have set the city textbox, the city required field
validator and the OK button in a Validation Group separate from any of
the other controls on the form, however, the city validator is
preventing my form from working as expected (when the panel is not
even visible), it's like it's validating all the time.

(Using VS 2008, AJAX, VB)

Am I using the wrong AJAX toolkit? I am running .net framework 3.5.
My ajaxcontroltoolkit.dll version says 3.0.31106.0 dated 11/17/2009.
 

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,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top