我在我的asp.net应用程序中有一个ModalPopup窗口,我想要在单击Listview控件项目时显示该窗口。ModalPopup div不显示
<div id="ModalPopup" style="visibility:hidden" runat="server">
<div style="position: absolute; width: 100%; height: 100%; z-index: 10002; background-color: Gray; filter: alpha(opacity=70); opacity: 0.7;">
</div>
<table style="position: absolute; width: 100%; height: 100%; z-index: 10003;">
<tr>
<td align="center" valign="middle">
<div style="color: Black; font-weight: bolder; background-color: White; padding: 15px; width: 200px;">
<asp:Image ID="Image4" runat="server" ImageUrl="~/Images/ajax-loader.gif" />...Processing....
</div>
</td>
</tr>
</table>
</div>
然而,在我RadListView1_SelectedIndexChanged
事件,我的代码是:ModalPopup.Attributes.Add("style", "visibility:visible");
但模式弹出不显示。
我怎么能当选择ListView项显示呢?
使用回传本会耗尽你的任何类似的可用性的应用。帮你一个忙,jQuery/JavaScript的模态弹出。 – Syddraf 2013-03-05 23:40:09