ISGetCurrentWindow is retrieving null

6 replies. Last post: May 4, 2010 3:50 AM by Julia Wijaya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Hamdy GhanemMember

I have a desktop wep

I want to close an page

so like the sample I am using this code var curWin = ISGetCurrentWindow();

                        ISGetObject("WebMenuBar1").HideAll(); // ensure all menus are closed before exit
                        curWin.Close(true); // close with raise event

 

but in one page I have a dialog box

if I open this dialog and close it ISGetCurrentWindow function will retrive null and the closing code will not work

I tried to use this fucntion ISCloseCurrentWindow();

also not working


this happenes only if I open the dialog box and close it


All times are GMT -5. The time now is 12:30 AM.
Previous Next