Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have a ModalPopupExtender on one my pages which I am using to render a form to the user, the form contains several fields including a DropDownList with its AutoPostBack property set to true. When the user changes the selected item in the DropDownList POSTBACK occurs and then the modal popup is automatically closed. If I reopen the popup at this point the correct partial updates have been applied, but I do not want the popup to close itself. How can I stop closing modalpopupextender by itself.
Thank you.
Posted

1 solution

check : Solution: ASP.Net AJAX Modal Popup Auto Closes on PostBack[^]
you can re-open the ASP.Net AJAX Modal Popup by calling its Show method.
 
Share this answer
 
Comments
partha143 17-May-15 4:49am    
Thanks a lot Damith. But when I use the Show method, my popup actually closes and reopens again. Though it saves all the partial updates, but is there any way where I can avoid reopening of popup.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900