View Single Post
  #2  
Old April 14th 08, 02:14 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Folder WebViewURL

Does it help if you handle the Explorer.BeforeFolderSwitch event and if the
switch is to your folder turning off then on the WebViewOn property?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Neetu" wrote in message
...
in our addin we have folders and
for each folder some URL setting is done. like ..

MAPIfolder lobjmfCustomer;

lobjmfCustomer.WebViewURL = lstrUrl;
lobjmfCustomer.WebViewOn = true;
lobjmfCustomer.WebViewAllowNavigation = true;

on click of a folder ( f1) we are able to browse specfied url.
we do some operation like adding of data into webpages.after that page get
refreshed. after this if we clicks some other folder (f2) and browsed url
and again clicks on last clicked folder (f1),
specified web page get displayed without any update made in last browsing.

we also noticed , when we click back a folder 2nd time ( like from f2-
f1)
. there is no web server hit.( we tried it by putting breakpoint of server
web page).
but if we do some operation , send data back to server via web pages , it
hits the server and update the webpage.

so each time, after clicking another folder and coming back to same
folder,
data is not refreshing as equivalent to requesting page 1st time for
server.
but if we clicks some button over pages, it updated the page with last
time
entered data.

Any issue or in built bug is this with outlook?
I am using c# and VSTO for outlook 2007





Ads