首次不显示Ajax模式弹出窗口

时间:2018-07-09 13:06:41

标签: c# asp.net webforms ajaxcontroltoolkit

客户端:                                              

    <asp:Panel ID="pnlDynamic" runat="server" Style="display: none">
        <div class="loginwrapper">
            <div class="lgp">
                <h2>
                    <asp:Label runat="server" ID="lblDynamicInfo"></asp:Label></h2>
                <p>
                    <input type="button" id="btnOk" runat="server" value="Ok" />
                </p>
            </div>
        </div>
    </asp:Panel>

服务器端:aspx页面

protected void btnSave_Click(object sender, EventArgs e)
{

        lblDynamicInfo.Text = "Fee note has been saved sucessfully. ";
        mdldynamic.Show();
}

0 个答案:

没有答案