Prevent closing of ModalPopup on postback?

Use client side validation or wrap your panel with an update panel and call the Show() method of the modal extender to show the modal from the code-behind.

I tried putting the UpdatePanel around the whole Panel, but I just get the An extender can't be in a different UpdatePanel than the control it extends. Error. – keyboardP Feb 3 '10 at 16:35 You shouldn't put your extender in a different UpdatePanel.

If you're using a nested UpdatePanel, you need to move the extender out from the inner UpdatePanel, or remove the inner UpdatePanel. – Paulus E Kurniawan Feb 4 '10 at 23:18.

I managed to solve the problem without using the updatepanel. Instead, I handled the CreateUserWizard's 'Submit' button's onClick event. Here, I got the instance of the ModalPopupExtender existing within the CreateUserWizard control and called its Show() method.

I left the ModalPopup declaration within the tags so that the Cancel button can still be accessed by it.

I'm using the ModalPopupExtender control from the AJAX toolkit. This control extends a panel which contains a CreateUserWizard control. However, the validation of the CreateUserWizard control causes a postback to the server, which closes the popup.

I'd like the popup to remain open, even after the postback. From what I can gather, I should be using an UpdatePanel. However, I can't seem to get it working.

I can't follow this structure because the ModalPopupExtender relies on a button which is contained within the CreateUserWizard control. Therefore, it has to be added within the tags. I would like the submit button, built into the CreateUserWizard control, to force an update of the panel.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions