提交按钮后是否可以显示modalpopup
问题描述:
嗨
我有登录页面.单击提交"按钮后,页面将重定向到另一个页面,并且modalpopup窗口将显示在页面本身上..
有可能吗?
Hi
i have login page.after clicking the submit button the page redirect to another page and modalpopup window will show on page loding itself..
Is it possible?
can any one help me?
答
检查以下内容:
http: //www.asp.net/web-forms/tutorials/ajax-control-toolkit/modalpopup/launching-a-modal-popup-window-from-server-code-cs [ http://stackoverflow.com/问题/896519/asp-net-ajax-control-toolkit-show-a-modalpopup-and-then-do-postback [
check these out:
http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/modalpopup/launching-a-modal-popup-window-from-server-code-cs[^]
http://stackoverflow.com/questions/896519/asp-net-ajax-control-toolkit-show-a-modalpopup-and-then-do-postback[^]
hope it helps :)
是的,有可能.是的,我们可以为您提供帮助.您有一个具体问题吗?
Yes it is possible. Yes we can help you. Did you have a specific question?
是的.您需要删除ModalPopupExtender
的属性TargetControlID
,现在可以使用ModalPopupExtender1.Show()
方法.
问候,
爱德华
Yes it is. You need to remove the attributeTargetControlID
of theModalPopupExtender
and now you can use theModalPopupExtender1.Show()
method.
Regards,
Eduard