隐藏回发后如何停止Modal Popup Extender [英] how to stop Modal Popup Extender after postback is hiding

查看:109
本文介绍了隐藏回发后如何停止Modal Popup Extender的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

在模式弹出窗口扩展器中,我保留了一个用户控件,因为该控件中的某些控件已过帐,因此模式弹出窗口扩展器隐藏了


告诉我如何阻止回发后隐藏AJAX :: ModalPopupExtender?

Hi every one

in modal popup Extender i keep one user control in that control some of the controls are post backing so modal popup extender is hiding


tell me that how to stop the AJAX :: ModalPopupExtender Hides After Postback?

推荐答案

为用户控件创建事件并调用它
Create event for user Control and call it


在导致回发且ModalPopup被隐藏的控件的服务器事件上,放置此代码

On the server events of the controls that causes postback and the ModalPopup gets hidden, place this code

ModalPopupExtender1.Show();


这篇关于隐藏回发后如何停止Modal Popup Extender的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆