Topic ???Post request using the Navigate method??

Add-in Express™ Support Service
That's what is more important than anything else

Topic ???Post request using the Navigate method??
 
Amaia Naiz




Posts: 6
Joined: 2009-03-11
Hello;

I am using Navigate2 method in C#.

object.Navigate2( _
URL As Variant, _
[Flags As Variant,] _
[TargetFrameName As Variant,] _
[PostData As Variant,] _
[Headers As Variant])


I have read that navigate2 method doesn't allow to combine parameters as postData and navOpenInNewTab.

In Internet Explorer 7, when you specify the navOpenInNewTab flag or the navOpenInBackgroundTab flag, do not combine them with other parameters ( TargetFrameName, PostData, Headers) or with other BrowserNavConstants flags. If tabbed browsing is disabled, or if a tab cannot be created, the call will fail. If this happens, choose another navigation method, such as navOpenInNewWindow.


How can I solve this? Is there any other method?

Thanks in advance,
Amaia
Posted 15 Jun, 2011 05:29:11 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Amaia Naiz,

You can also use the open method of the IHTMLWindow2 interface. http://msdn.microsoft.com/en-us/library/aa741489(v=vs.85).aspx
But it doesn't provide the PostData parameter.
Posted 16 Jun, 2011 09:33:07 Top