在母版页中有一个表单标记:
       <form id="form1" runat="server"   method="post"  action="https://pay3.chinabank.com.cn/PayGate">
       </form>
   但是我需要在内容页中放置一些内容,
      <input type="hidden"  name="v_rcvemail"     value="<%=v_rcvemail%>" />
<input type="hidden"  name="v_rcvpaypal"    value="<%=v_rcvpaypal%>" />
       <input type="submit" name="up"   id="sure" value="确定购买" /></td>   但是我点击提交按钮"确定购买"之后页面总是回到原来的页面,并没有转到action所指定的URL页面上,本想在内容页上在放置一个form标记,但是运行时提示一个页面中不能有两个form标记,如何解决这个问题呢????????
   

解决方案 »

  1.   

    不要在内容页添加Form.
    试试将 按钮"确定购买"的postbackurl为那个action指定的url看看,  
      

  2.   

    Control shousuoKJ = (Control)Master.FindControl("ContentPlaceHolder1"); 
            for (int Bi = 1; Bi <= 3; Bi++) 
            { Button Bton = (Button)shousuoKJ.FindControl("Button" + Bi.ToString()); if (Bton != null) { Bton.Enabled = false; } } 
      

  3.   

    asp.net可以有多个form 
     但只能有一个form   runat=server