如何在点击转发器行的任何位置时显示模型弹出窗口? [英] How to display a model popup on clicking on anywhere on row of repeater ?
本文介绍了如何在点击转发器行的任何位置时显示模型弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hii,
< asp:Repeater ID = repEmpHeadings runat = server OnItemDataBound = repEmpHeadings_ItemDataBound >
< ItemTemplate >
< div > < / div >
< div > < / div < span class =code-keyword>>
< / ItemTemplate>
< / asp:Repeater>
这是我的中继器结构..
现在在里面,我将三个div中的数据显示为一个完整的行...
想要做的是,点击这一行的任何地方我想要显示一个modelpopup包含这些数据属于那一行...
请建议...我创建了一张票但由于某种原因它没有在页面上正确显示所以创建这个问题再次..
解决方案
参考这个链接:
1. 打开弹出窗口
2. Repeater Linkbutton Javascript弹出窗口
Hii ,
<asp:Repeater ID="repEmpHeadings" runat="server" OnItemDataBound="repEmpHeadings_ItemDataBound">
<ItemTemplate>
<div></div>
<div></div>
</ItemTemplate> </asp:Repeater>
This is my repeater structure ..
Now inside it i am displying my data in three div whic becomes one complete row ..
What want to do is , on clicking anywhere on this row i want to show a modelpopup contain these datas belongs to that row ...
Please suggest ... i had created one ticket but for some reason it wasnt displaying on page properly so creating this question again ..
解决方案
Refer this links :
1. Open Popup
2. Repeater Linkbutton Javascript popup
这篇关于如何在点击转发器行的任何位置时显示模型弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文