AxWebBrowser control : how to POST data?

  • Thread starter Thread starter TF
  • Start date Start date
T

TF

hi,
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but
didn't find any documentation about AxWebBrowser how to use it. i
tried a string like "name1=value1&name2=value2" but it doesn't work.

Any help??
Thanks
 
Hi TF,

With the AXWebbrowser you can do the same as with Internet Explorer.

For most things that are in a button you have a command, although it is not
always easy to send.

I never saw that you can POST from Internet Explorer.

So I think you will also never find it in the AxWebBrowser.

Sorry it does not helps, but maybe you get the right direction.

Cor
 
hi,
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but
didn't find any documentation about AxWebBrowser how to use it. i
tried a string like "name1=value1&name2=value2" but it doesn't work.

Any help??
Thanks

You should use byte array, I can give you an example at Monday in Vb6
only...
 
TF said:
hi,
i am using AxWebBrowser control in my C# dot.net windows application.
i want to display a web page in the browser that needs some data sent
to it through HTML Form 'POST' method. I saw a method 'Navigate' of
AxWebBrowser control that has a parameter 'ref object postData' but

Unless you are interacting with the rendered page, you should bypass
AxWebBrowse and instead use the HTTP protocol directly.
 
Back
Top