Ajax中的Modalpopup控件 [英] Modalpopup control in ajax
本文介绍了Ajax中的Modalpopup控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我需要在我的应用程序中使用modalpopup控件.即登录页面后重定向到另一个页面,然后需要显示modalpopup中的步骤.
我对ajax知识不多,所以有人可以告诉我吗?
我该怎么做?
举个例子
谢谢
Hi
I need to use modalpopup control in my application.That is after login the page redirect to another page then i need to show the steps in modalpopup.
i dont have much knowledge in ajax.so can anyone tell me?
How can i done this?
Give example
Thanks
推荐答案
在这里学习
Modal PopUp
Learn fro here
Modal PopUp
像这样声明您的ModalPopupExtender.行为ID很重要.
declare your ModalPopupExtender like this. Behaviour ID is important.
<cc1:modalpopupextender id="id" runat="server"
PopupControlID="panel1"
BackgroundCssClass="modalBackground"
DropShadow="true"
OkControlID="BacktoForm"
BehaviorID="MPE" <!-- Added behavior to the control and named it the same as the ID-->
/></cc1:modalpopupextender>
为您的PopUp面板准备数据
然后从页面加载中调用以下javascript函数..
prepare the your PopUp panel with data
then call the below javascript function from page load..
function showpopup()
{
find(' MPE').show() ; }
find('MPE').show(); }
希望这会有所帮助.
这篇关于Ajax中的Modalpopup控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文