下面就是我的页面代码, 点击MORE后,弹出窗口,但是,页面上的其它元素(此页面代码未列出)照样可以点击,输入等.没有被屏蔽起来! 请问是怎么回事?
<asp:Button runat="server" ID="btnViewMore" Text="More" />
<asp:Panel ID="pnlViewCustomer" runat="server" CssClass="modalPopup" style="display:none;">
<div style="margin:10px">
<h1>The service is not available in <span id="Country"></span>.</h1>
<asp:Button runat="server" ID="viewBox_OK" Text="OK" />
</div>
</asp:Panel>
<asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server"
TargetControlID="btnViewMore" Drag ="true"
PopupDragHandleControlID="pnlViewCustomer"
PopupControlID="pnlViewCustomer"
BackgroundCssClass="modalBackground"
DropShadow="false"
OkControlID="viewBox_OK">
</asp:ModalPopupExtender>
解决方案 »
- 判断page的panel类型 我哪里写错了 ?帮忙看看
- Request.QueryString 获取参数值乱码
- (急)GridView自定义分页-分页导航始终可见
- 急:关于gridview分页后数据保存的问题?
- iis 应用程序映射
- 如何取DataList中控件(HyperLink)的值(急急急急iji急急急急急急急急)
- 请教:如果将一Web Service返回结果插入到数据库中?
- 在.net 2005 中如何实现两个web user control 之间的相互调用?
- vs.net2005中的SqlDataSource小問題
- 如何在Datagrid中新增一笔数据?
- SQL 行变列,高手进!
- 头晕找了两个多小时,这是bug吗?
.modalBackground {
background-color:Gray;
filter:alpha(opacity=70);
opacity:0.7;
}
ModalPopupExtender设置BackgroundCssClass.lBackground {
background-color:Gray;
filter:alpha(opacity=70);
opacity:0.7;
}