T
Trevor Braun
Hi all. I'm really stuck here, and would greatly appreciate any help or
suggestions.
I'm trying to (from the server side) submit the page that is loading to a
new window, then redirect to another form.
What I'm trying to do would look like:
protected void Page_Load(object sender, EventArgs e)
{
form1.hiddenField1.Value = Request["ccvalue1"];
form1.hiddenField2.Value = Request["ccvalue2"];
form1.Target="_blank";
form1.Submit();
Response.Redirect("default.aspx");
}
The reason I'm doing this is because ASP.NET changes the ID's of hidden
fields that belong to a page with a master template, and I need to submit to
a credit card pay page that is expecting specially named hidden form fields.
This page is a dummy page (without a master template page) that receives
values from an order wizard then loads the values into the hidden fields on
the dummy page's load and submits itself to the credit card pay page in a
new window and then redirects itself to "default.aspx", the user's home
page.
Thanks again for any suggestions.
Trevor Braun
suggestions.
I'm trying to (from the server side) submit the page that is loading to a
new window, then redirect to another form.
What I'm trying to do would look like:
protected void Page_Load(object sender, EventArgs e)
{
form1.hiddenField1.Value = Request["ccvalue1"];
form1.hiddenField2.Value = Request["ccvalue2"];
form1.Target="_blank";
form1.Submit();
Response.Redirect("default.aspx");
}
The reason I'm doing this is because ASP.NET changes the ID's of hidden
fields that belong to a page with a master template, and I need to submit to
a credit card pay page that is expecting specially named hidden form fields.
This page is a dummy page (without a master template page) that receives
values from an order wizard then loads the values into the hidden fields on
the dummy page's load and submits itself to the credit card pay page in a
new window and then redirects itself to "default.aspx", the user's home
page.
Thanks again for any suggestions.
Trevor Braun