zoukankan      html  css  js  c++  java
  • 解決用showModalDialog弹出页面后,form表单提交再次弹出一个新窗口問題

    圖片:

    showModalDialog1.jpg、showModalDialog2.jpg

    default.aspx

    <head >
        <title>default.aspx</title>
        <link href="StyleSheet.css"  type="text/css" rel="stylesheet"/>
         <script type="text/javascript" language="javascript">
             function showIssue() {
                 window.showModalDialog("GoodsMange/Issue.aspx", "", "dialogWidth:800px;dialogHeight:800px;scroll:no;status:no;center:yes");
                 return false;
             }
         </script>
    </head>

    <body>

      <asp:ImageButton ID="imgbtnOutManage" runat="server"      ImageUrl="~/image/IssueItem.gif"                                                      OnClientClick="showIssue();"   />

    </body>

    Issue.aspx

    <head runat="server">
        <title>Issue.aspx</title>
        <base target="_self" />
    </head>

    <body>

     <asp:Button ID="btnAdd" runat="server" Text="出 庫"  OnClick="btnAdd_Click" PostBackUrl="#" />

    <asp:ImageButton ID="linkFirstPage" runat="server" ImageUrl="~/image/pg-first.gif"    PostBackUrl="#"  onclick="linkFirstPage_Click" />

    </body>

  • 相关阅读:
    题库重整
    计算几何练习题――直线交点
    An Easy Task
    简单排序
    IBM Minus One
    Binary Numbers
    去掉VS2010代码中文注释的红色下划线
    【转】Windows socket基础
    【STL】vector的insert方法详解
    window7下 cocos2dx android交叉编译环境部署小结
  • 原文地址:https://www.cnblogs.com/Snowfun/p/1914229.html
Copyright © 2011-2022 走看看