J
James Page
Hi all
Have a couple of issues with the modal popup extender (asp.net 3.5, vb.net,
visual studio 2008):
I have created a user control (e-mail enquiry form) which is designed to
accept text input then send an e-mail.
The user control has 2 views – view 1 –e-mail input form, view 2
confirmation that e-mail has been sent.
View 1:
There are 4 text boxes submit, reset and close buttons.
Validation is required on the text boxes.
When the form passes validation an e-mail is sent
View 2:
Label showing “thank you..“ message and their e-mail address
The close button is visible in both views
The modal popup extender shows the above user control fine, but when the
user clicks on the submit and reset buttons the popup disappears.
I’ve seen some discussion about this but nothing seems to be a ’defacto’
method of allowing the popup to carry out code behind / validation functions
without the popup disappearing.
Here’s what i need to achieve:
1. Show popup
2. Let user enter text, click submit or reset buttons without closing popup
3. Allow validation to take place
4. If form passes validation show view 2 (confirmation)
5. Allow user to click ‘close button’ at anytime
Any pointers would be gratefully received.
Have a couple of issues with the modal popup extender (asp.net 3.5, vb.net,
visual studio 2008):
I have created a user control (e-mail enquiry form) which is designed to
accept text input then send an e-mail.
The user control has 2 views – view 1 –e-mail input form, view 2
confirmation that e-mail has been sent.
View 1:
There are 4 text boxes submit, reset and close buttons.
Validation is required on the text boxes.
When the form passes validation an e-mail is sent
View 2:
Label showing “thank you..“ message and their e-mail address
The close button is visible in both views
The modal popup extender shows the above user control fine, but when the
user clicks on the submit and reset buttons the popup disappears.
I’ve seen some discussion about this but nothing seems to be a ’defacto’
method of allowing the popup to carry out code behind / validation functions
without the popup disappearing.
Here’s what i need to achieve:
1. Show popup
2. Let user enter text, click submit or reset buttons without closing popup
3. Allow validation to take place
4. If form passes validation show view 2 (confirmation)
5. Allow user to click ‘close button’ at anytime
Any pointers would be gratefully received.