Hi folks,
I am facing a very nasty problem.
In the WebClient I trigger some javascript to open an Active X Object to show an MS Office file. While this works well, I ran into one problem: The WebClient view is still fully accessible. Meaning the user can continue working. What I need is the client to be locked as long as the Active X window is open. Just like the modal PopUps when opening a search help.
Now my initial thought was to trigger the "Please Wait" thingy that is always coming up while the client is doing something. Does anyone know how to trigger and probably even more important hide this icon/page/overlay again?
Any other thought on how to notify the user that the client is not accessible until the Office window is closed are welcome.
Note: The file shown in the Active X window is supplied via content management. This means I know when the Office window gets closed.
EDIT:
I tried firing server side events using htmlbSubmitLib() and triggering a hidden thtmlb submit button. Those end up in an endless loop of office opening.
When I use JS to trigger a standard html submit button I go to the DO_HANDLE_DATA, but no Please Wait during this.
I am still wondering, why the thtmlbSubmitLib() call does not work. In another view I am using it the same way and it works perfect. Could it be that the thtmlb areaFrame tag with late rendering set meeses everything up?
One thing that does work to an instance is when I register the JS function, that opens the office, for the onload event of the page and then in there trigger the roundtrip. However the spinning Please Wait does not go away anymore.
cheers Carsten
Edited by: Carsten Kasper on Jun 23, 2009 2:06 PM