且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

弹出窗口的按钮未触发父页面按钮单击事件

更新时间:2023-10-28 22:02:58

删除你的javascript代码,并将onclick属性添加到你的按钮,如下所示



remove your javascript code and add the onclick attribute to your button as below

<asp:button id="Button2" runat="server" text="Ok"

            Width="123px" OnClick="ImageButton10_Click"  ></asp:button>





你不想调用脚本调用服务器端代码。



you dont want to call script to calling the Server side code.