前台Js

  var sReturn = window.showModalDialog(url, window, temp);
            if (typeof (sReturn) != "undefined") {
                document.getElementById("<%=btnsel.ClientID%>").click();//需要执行的操作
            }

子窗体的后台

 ClientScript.RegisterStartupScript(Page.GetType(), "", "window.parent.returnValue='1';window.close();", true);

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2021-10-04
  • 2021-10-03
  • 2021-09-05
  • 2021-11-02
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2021-12-21
  • 2021-09-13
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
相关资源
相似解决方案