P
Phillip N Rounds
I have a webform, from which I have to submit info to another site. Their
instructions are to have a html form, with the following as the submit:
<form method="post" action="http://www.theirsite.htm">
<input type=hidden name="field1" value="value1">
<input type=hidden name="field2> value="value2>
<input type="submit" value="Click Me">
On my web form, I have numerous web controls ( all runat="server"), one of
which is a button which the user must click to prepare to move to the next
site. I would like to add code to this button to simulate the effect of the
form above. How do I do this? I see how I can post the data to the target
site, with say a WebClient, or HttpRequest write, but that doesn't take me
to the new page. I could transfer to the new page, but it doesn't submit
the required info. I could add a html control to the page, but this
wouldn't have access to the web controls, and hence none of the info
collected there.
Thanks in advance
--
Phillip N Rounds
The Cassandra Group, Inc
68 Sand Hill Rd
Flemington NJ 08822
(e-mail address removed)
instructions are to have a html form, with the following as the submit:
<form method="post" action="http://www.theirsite.htm">
<input type=hidden name="field1" value="value1">
<input type=hidden name="field2> value="value2>
<input type="submit" value="Click Me">
On my web form, I have numerous web controls ( all runat="server"), one of
which is a button which the user must click to prepare to move to the next
site. I would like to add code to this button to simulate the effect of the
form above. How do I do this? I see how I can post the data to the target
site, with say a WebClient, or HttpRequest write, but that doesn't take me
to the new page. I could transfer to the new page, but it doesn't submit
the required info. I could add a html control to the page, but this
wouldn't have access to the web controls, and hence none of the info
collected there.
Thanks in advance
--
Phillip N Rounds
The Cassandra Group, Inc
68 Sand Hill Rd
Flemington NJ 08822
(e-mail address removed)