WebViewPane not closing correctly

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

WebViewPane not closing correctly
 
RikardG




Posts: 95
Joined: 2009-10-19
Hi!

I'm using a WebViewPane to display a website in my Explorer window in Outlook. And when the user clicks on a folder the WebView is suppose to close. This works fine when i click on a different folder then the current one.

I'm using the ADXBeforeFolderSwitchEx event to clear the WebViewURL and WebViewOn properties, but the problem is that if i'm in my inbox folder (in favorites) and then click on the regular inbox, the ADXBeforeFolderSwitchEx fires, but the ADXFolderSwitchEx does'nt so i'm left with a blank screen since the WebView is closed but my inbox folder has not been refreshed.

Do you know why this happens? It's really the same folder, so i can see why ADXFolderSwitchEx doesn't fire, but how come ADXBeforeFolderSwitchEx do?
Posted 26 May, 2011 03:11:05 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Rikard,

Please take a look at the How to switch between the standard Outlook explorer view and your custom C# form sample add-in project which is available in the HOWTO section of our web site. Is it what you are looking for?
.NET, Extended MAPI, Windows Phone & RT
Posted 26 May, 2011 04:30:02 Top
RikardG




Posts: 95
Joined: 2009-10-19
I have found a solution to the problem. Thank you.
Posted 26 May, 2011 08:10:54 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
You are welcome, Rikard!
.NET, Extended MAPI, Windows Phone & RT
Posted 26 May, 2011 08:12:22 Top