How do I prevent the closing of modal popup window(ModalPopupExtender) on postback?

前端 未结 7 501
一向
一向 2020-12-15 22:26

I\'m using Microsoft AjaxControlToolkit for modal popup window.

And on a modal popup window, when a postback occurred, the window was closing. How do I prevent from

7条回答
  •  既然无缘
    2020-12-15 23:26

    Put you controls inside the update panel. Please see my sample code, pnlControls is control that holds controls that will be displayed on popup:

    
    
        
            
                   
                         
            
    
        
    

    This will do the job for you :)

    Best regards, Gregor Primar

提交回复
热议问题