在母版页中有一个表单标记:
<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标记,如何解决这个问题呢????????
<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标记,如何解决这个问题呢????????
解决方案 »
- 求救
- asp.net母版页弹出框遮盖层前后问题
- |zyciis| 为什么我的System.Text.RegularExpressions.Regex.Replace 因为我的字符里面有?号替换失败
- 怎样对web.sitemap读写?也用xml的方式么?
- 服务器控件怎么样使用CSS啊?
- 问一下在2.0里,gridview添加列的办法。
- 用dreamweaver等网页制作工具做成的网页和C#的代码是怎么整合在一起的?
- Option Strict ON的问题
- 帮个忙
- ADO.NET 数据库更新问题,如何用UpData() 更新Oracle 数据库 急~~~,请教高手~~~
- JavaScript如何响应ActivX控件的事件
- <%@ MasterType virtualPath="~/Club/Skin/abc.Master"%> virtualPath以编程的方式实现。
试试将 按钮"确定购买"的postbackurl为那个action指定的url看看,
for (int Bi = 1; Bi <= 3; Bi++)
{ Button Bton = (Button)shousuoKJ.FindControl("Button" + Bi.ToString()); if (Bton != null) { Bton.Enabled = false; } }
但只能有一个form runat=server