在SelectedIndexChanged弹出窗口关闭后,ModalPopupExtender包括一个DropDownList? [英] ModalPopupExtender including a DropDownList after the SelectedIndexChanged popup closing itself?

查看:70
本文介绍了在SelectedIndexChanged弹出窗口关闭后,ModalPopupExtender包括一个DropDownList?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的一个页面上有一个ModalPopupExtender,用于向用户呈现表单,该表单包含几个字段,包括DropDownList,其AutoPostBack属性设置为true。当用户更改DropDownList POSTBACK中的所选项目时,会自动关闭模态弹出窗口。如果我在此时重新打开弹出窗口,则应用了正确的部分更新,但我不希望弹出窗口自行关闭。我怎么能自己停止关闭modalpopupextender。

谢谢。

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.

推荐答案

check:解决方案:在PostBack上ASP.Net AJAX模态弹出自动关闭 [ ^ ]

你可以通过调用它的Show方法重新打开ASP.Net AJAX模态弹出窗口。
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.


这篇关于在SelectedIndexChanged弹出窗口关闭后,ModalPopupExtender包括一个DropDownList?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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