Stop DispEx Redirecting in SharePointPosted on Sunday, 30 August 2009 11:09
When you call the DispEx function in SharePoint, to edit a document, as soon as you close the office application, the SharePoint page "refreshes" (it actually re-routes back on itself.
Ths is fine for most people, but in my bespoke application, it was something of a problem as I did not want a reload or a refresh.
To achieve this, you just need to add the following code:
g_varSkipRefreshOnFocus = true;
Hope you find this as useful as I did.