本文介绍了我的ModalPopupExtender不工作面板显示在页面上它没有被隐藏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="HeadContent">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Button ID="btnaddcountry" runat="server" Text="Add Country" />
<cc1:ModalPopupExtender ID="ModalPopupExtender3" runat="server" TargetControlID="btnaddcountry"
PopupControlID="paneladdcountry" CancelControlID="Button3" BackgroundCssClass="modalBackground">
</cc1:ModalPopupExtender>
<asp:Panel runat="server" ID="paneladdcountry" Font-Bold="true">
<fieldset id="Fieldset4" runat="server" style="background-color: Gray; width: 220px;
height: 195px; padding-left: 18px; padding-right: 18px;">
<div align="center">
<h1 style="color: Black; font-weight: bold; font-family: Andalus; text-decoration: underline;
font-size: x-large;">
Enter Country
</h1>
<asp:TextBox ID="txtcountry" runat="server" Style="height: 20px; width: 200px;">
</asp:TextBox>
<asp:Button ID="btncountry" runat="server" Text="Save" OnClick="btncountry_Click"
Style="width: 66px; height: 26px;" />
<asp:Button ID="Button3" runat="server" Text="close" Style="width: 66px; height: 26px;" />
</div>
</fieldset>
</asp:Panel>
</asp:Content>
推荐答案
这篇关于我的ModalPopupExtender不工作面板显示在页面上它没有被隐藏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!