Skip to Content
author's profile photo Former Member
Former Member

Close a window browser

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.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 12, 2016 at 02:11 PM

    Hi Sitesh,

    If it is a pop-up target you can try using:


    That is a JavaScript command to tell the browser to close the window.


    Ryan Crosby

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.