‎2016 Jan 12 1:19 PM
Dear All,
In my project, We have a webydnpro application and as per the requirement, when we click on a button, it should open a EPM excel page. we are passing data from the code. when this page gets opened, a blank window browser also gets opened. i need to close this extra blank window browser.
We have a class which is being called to populate the attributes for the EPM. the code is written like below:
concatenate 'reportLauncher.OpenReport("EXCEL", "en","'
lv_reportname '", "",".....)
here only, we can pass the command to close the window (this was suggested by concerned person). Please help me in writing the "close window" command.
Thanks in advance.
Sitesh
‎2016 Jan 12 2:11 PM
Hi Sitesh,
If it is a pop-up target you can try using:
window.close();
That is a JavaScript command to tell the browser to close the window.
Regards,
Ryan Crosby
‎2016 Jan 12 2:11 PM
Hi Sitesh,
If it is a pop-up target you can try using:
window.close();
That is a JavaScript command to tell the browser to close the window.
Regards,
Ryan Crosby
‎2016 Jan 13 9:18 AM
HI ryan,
Thank you for the reply. yes, it worked with the command window.close()
I concatenated 'window.close()' and it worked.
Regards,
Sitesh