在链接按钮命令上模态弹出扩展器 [英] Modal Pop up Extender on linkbutton command

查看:81
本文介绍了在链接按钮命令上模态弹出扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我想打开一个链接按钮的命令模式弹出窗口,该命令位于数据列表中,而数据列表位于选取框内.
页面上有一个正在运行的Flash标语.我已经提供了所有目标ID和弹出窗口ID,但未显示弹出窗口.
请帮助

hi all
i want to open a modal pop up on command of a linkbutton which is inside datalist and the datalist is inside marquee.
There is a running flash banner on the page. I hve supplied all the target id and pop up id but the pop up is not shown.
Please help

推荐答案

检查此论坛
http://forums.asp. net/t/1280368.aspx/1?将+ data +传递给+ ModalPopupExtender +使用+ LinkBut​​ton + click + event [
check this forum
http://forums.asp.net/t/1280368.aspx/1?Passing+data+to+ModalPopupExtender+using+the+LinkButton+click+event[^]
--NDK


我遇到了同样的问题.


解决方案非常简单.您必须将AJAX ModalPopupExtender和带有弹出标记的面板放置在ItemTemplate中LinkBut​​ton附近的数据列表中,或者简称为Linkbutton旁边.

这样,每个链接"按钮将链接到其自己的弹出窗口并显示.

我在将标记放置在数据列表之外时犯了同样的错误.
I faced the same problem.


The solution is really simple..You will have to place the AJAX ModalPopupExtender and the Panel with your popup markup inside the datalist near the LinkButton in the ItemTemplate OR in short just beside the Linkbutton.

This way, each Linkbutton will be linked to its own Popup and will be displayed.

I was making the same mistake of placing the markup outside the Datalist.


创建ajax modalpopup控件&在链接按钮的OnClientClick =
create a ajax modalpopup control & show on linkbutton''s OnClientClick=


这篇关于在链接按钮命令上模态弹出扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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