Ajax中的Modalpopup控件

编程入门 行业动态 更新时间:2024-10-10 13:24:25
本文介绍了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控件

本文发布于:2023-11-24 23:34:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627360.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   Ajax   Modalpopup

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!