![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
Hello ken,
I m catching Explorer.BeforeFolderSwitch event and Set WebViewOn property. however still , when i m navigating from one folder to another same 1st state is visible at internet explorer of Outlook. "Ken Slovak - [MVP - Outlook]" wrote: 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 |
#4
|
|||
|
|||
![]()
Are you setting WebViewURL = "" and WebViewOn = false, then setting the URL
and view on again for NewFolder before exiting the BeforeFolderSwitch event handler? -- 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 ... Hello ken, I m catching Explorer.BeforeFolderSwitch event and Set WebViewOn property. however still , when i m navigating from one folder to another same 1st state is visible at internet explorer of Outlook. |
#5
|
|||
|
|||
![]()
Hi Neetu,
I m catching Explorer.BeforeFolderSwitch event and Set WebViewOn property. however still , when i m navigating from one folder to another same 1st state is visible at internet explorer of Outlook. Maybe the IE control is just caching the web site. Are you in control of the web site which is called? If yes, try to set the expires header to the current time so that the client recognizes that it must reload the page content. If you are not in control of the website, you need to add some bogus URL parameter like yourUrl&dummy=currentTimeStamp. So you woule need the above events and change the webview-URL each time your folder is selected. -- SvenC |
#6
|
|||
|
|||
![]()
It got resolved.
I set %@ OutputCache Duration="1" Location="Client" VaryByParam="none" % at my aspx page Thanks for guidance. "SvenC" wrote: Hi Neetu, I m catching Explorer.BeforeFolderSwitch event and Set WebViewOn property. however still , when i m navigating from one folder to another same 1st state is visible at internet explorer of Outlook. Maybe the IE control is just caching the web site. Are you in control of the web site which is called? If yes, try to set the expires header to the current time so that the client recognizes that it must reload the page content. If you are not in control of the website, you need to add some bogus URL parameter like yourUrl&dummy=currentTimeStamp. So you woule need the above events and change the webview-URL each time your folder is selected. -- SvenC |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default folder to Public folder when Exporting outlook form data toexcel | Cass | Outlook - General Queries | 1 | January 11th 08 12:33 PM |
Cannot display the folder. Microsoft Office Outlook cannot access thespecified folder location. | Boppy | Outlook - General Queries | 1 | December 19th 07 12:16 AM |
Folders WebViewUrl | Anyone for Coffee? | Outlook and VBA | 3 | May 4th 07 06:21 AM |
Folders WebViewUrl | Anyone for Coffee? | Add-ins for Outlook | 0 | May 1st 07 09:30 PM |
activate contact folder from public folder with "show this folder as email address book using a prf file | Frankie K. | Outlook - Using Contacts | 7 | July 25th 06 05:37 PM |