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


Guest


Hi Rikard,

Please take a look at the http://www.add-in-express.com/support/addin-c-sharp.php#form-regions sample add-in project which is available in the HOWTO section of our web site. Is it what you are looking for?
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


Guest


You are welcome, Rikard!
Posted 26 May, 2011 08:12:22 Top