Ajax ModalPopupExtender的半透明不可用代码
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
TargetControlID="Button1"
PopupControlID="Panel1"
OkControlID="OkButton"
CancelControlID="CancelButton"
DropShadow="true"
PopupDragHandleControlID="Panel1" X="20" Y="20" BackgroundCssClass="aa" />
<asp:Panel ID="Panel1" runat="server" Style="display: none;" Width="100px" Height="300px" BackColor="Blue">
<asp:Button ID="OkButton" runat="server" Text="确定" />
<asp:Button ID="CancelButton" runat="server" Text="取消" />
</asp:Panel>
CSS:
.aa
{
background-color: #000;
filter: alpha(opacity=60);
}
- 本文标题: Ajax ModalPopupExtender
- 文章分类:【.NET/Web】
- 非特殊说明,本文版权归【胡同里的砖头】个人博客 所有,转载请注明出处.