Send Form Post from Hyperlink to external URL without changing the Postback URL

I am using ASP.NET 2.0, and have built a dashboard that includes a simple list of hyperlinks that map to an iframe so that all of this information is stored on a single web page.

One of the links must go to an outside vendor, but I need to pass an encrypted account via the Post method (querystring is not an option). So I am wondering how to do this when the post action on the web form must remain my homepage?

I though of using the PostBackOptions Class, but the example in the .NET framework class library doesn't quite fit the bill as to what I am doing. Pleas advise.
aschlueterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RejojohnyCommented:
try using client side events .. use the onload javascript event and use xmlhttp to access the outside vendor's link .. here you can post the values ..

the code will look something like
xmlhttp.open( 'post', url, false );
xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xmlhttp.send('Field1=value1&field2=value2');

Rejo
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RejojohnyCommented:
oh, i forgot to mention .. you have to assign the returned content (which i assume will be HTML tags of a page) to the iframe ..
0
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.