Add a close button to a SSRS popup

Hi
I open a report My Admission in a new window via a Textbox Action (open_my admission report) with Java script,
when the new window is open i want to have a text box action to close (my admission report), i have tried in Java, but i cant get it to work
any ideas would be appreciated
David

Hi David,
After testing the issue in my local environment, we can use window.close javascript method to achieve your requirement. For more details, please see:
Add a “Go to URL” Action on a textbox in Admission report.
Then type the expression below as the URL:
="javascript:void(window.close())"
When we click this textbox, it pop up a message that: The webpage you are viewing is trying to close the tab. Do you want to close this tab? Then click the Yes button, the new window would be closed.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • How to add a close button to a edge animation ?

    How to add a close button to a edge animation ?

    Welcome to our community, Laurie
    You posted this in the FlashHelp section. Is that your actual
    output type? If so, you will need to make edits to the FlashHelp
    using Adobe Flash.
    Cheers... Rick

  • Can I add a Close button to a popup window?

    My RoboHelp 10 project has nested popup windows (that is, I can open a popup window within a popup window within a popup window). The problem is, when I close the popup window at the lowest level, all of them close simultaneously. This is not good for navigation, particularly if the user is following instructions in the popup window and needs to go back up one popup window level.
    Is there a method by which I can close each individual popup window, for example, by adding a Close button to them? In other words, can I change the format of the popup windows?
    Your help will be much appreciated in finding a solution to this problem because it is fundamental to the way we want our Help to function. If a solution can not be found, we may have to change to another product to produce our Help.

    Hi,
    You can create a close buton by creating a link as follows with the following address:
    javascript:self.close()
    But I'm not sure whether this will work correctly with RoboHelp generated popups.
    Another question: why would you want multiple popups? Wouldn't it be better to create a popup that can tthen redirect to another topic? Having lots of windows wil become very confusing very fast.
    Greet,
    Willam

  • How do I add a close button to an item in a NavigationPane

    We are creating tabs (commandNavigationLink) dynamically for a NavigationPane that are driving data in a set of iframes. We are using the tabs to show and hide the iframes which really works well.
    My issue is that I cannot figure out how to put a close buton on a commandNavigationLink. As this is the only component allowed in a NavigationPane I am at a standstill.
    I am starting to look at extended the ADF components to add this capability, however this does not seem trivial at this point.
    Any thoughts???

    I had another idea that I am pursuing. I am looking into extending the current renderer CommandNavigationRenderer and will render another goLink just after the current goLink that will execute a close action. I was able to re-direct the rendering by added an override render-kit block in my current faces-config.xml file.
    <render-kit>
    <renderer>
    <component-family>org.apache.myfaces.trinidad.Command</component-family>
    <renderer-type>oracle.adf.rich.NavigationItem</renderer-type>
    <renderer-class>com.riscs.ui.backing.jsp.components.ClosableCommandNavigationItemRenderer</renderer-class>
    </renderer>
    </render-kit>
    If this works I am planning on extending the commandNavigationItem by creating a ClosableCommandNavigation tag and add a "closeAction" tag that will determine if a close item should render.
    Preliminary work looks promising. I will update if I make progress...please let me know if I am crazy.
    Thanks.

  • HT2492 how to add the close button icon on the internet tabs

    i dont know what happened but if i want to close the new tab i entered from the safari i still have to do the long process instead of just clicking the "x" button to close it,., it disappeared last night and i dont know how to put it back,., prolly i accidentally press an icon to detached it from the tool. how will i restore it?

    Since your posting in the swing project forum, I assume your talking about JDialog. If so, use JDialog.setDefaultCloseOperation( DO_NOTHING_ON_CLOSE ). Same method exists in JFrame as well, but not in JWindow.

  • How to can I add a close button within a loadmovie swf

    I made a list of words, which are links. When you rollover the text it loads a graphic with definitions to the lists of words. I made the (graphic with definitions) a "swf" and I used the loadmovie script to load the swf.
    I added a button within the swf, to close the swf, and used the unload movie script to close the swf.
    Here's the problem, the swf loads but when I try to close the swf by using the button, nothing happens.
    Is this because I added the button within the swf. Or better yet, what script should I use to close the swf. I using AS2.
    thanks for any help

    For the button's unloading code try using:
    unloadMovie(this);
    Or
    _parent.unloadMovie(this);

  • OVS valuehelp close button

    Hello!
    Is it possible to add a close button to the popup window that appears for the OVS value help? I think it’s a big usability issue in case I don't want to select an entry from the query result table and just want the window to disappear.
    By what means can the OVS popup be adapted for our customers needs?
    Thanks in advance and best regards
      Reinhard

    Reinhard,
    Sadly, it is impossible in current version of WD for Java. This issue was discussed previously, still this functionality is not available, I've added an entry to enhancements wish list on this forum (see Re: POLL: Web Dynpro UI elements - enhancement proposals last item)
    For now you the only option is to explain customers that they have to click outside OVS pop-over.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTEam.com
    Message was edited by: Valery Silaev
    Link corrected

  • Spark Panel close button best practice ?

    Hello,
    I would like to know what is the best practice to add a close button to a Panel and be able to skin it through CSS file ?
    If I add a [SkinPart(required="true")] meta data in the extended Panel for the button created in the Skin file, titleField becomes "null" (it is never created in partAdded() ).
    Many thanks,

    If you're using the beta 1 build, it could be you're running into http://bugs.adobe.com/jira/browse/SDK-21484?  If so, try swapping in the mxmlc.jar attached to that bug.
    Steve

  • BSP handler close button (X) in window

    Hi gurus,
    Does anybody knows if is there a way to handler or execute a code when I press the close button (X) in a popup BSP window.
    I have a popup which is created in a BSP extension.
    My popup is created
    The thing is I put a external break in the event EH_ONPOPUP , but is not been raised.
    Any help is useful.
    Thanks in advance.
    Regards

    Hi,
    You shall use the below sample code.
    CALL METHOD comp_controller->window_manager->create_popup_2_confirm
      EXPORTING
        iv_title           = <Popup Title>
        iv_text           = <Popup Text>
        iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno " Yes or No button combination in Popup.
      RECEIVING
        rv_result         = gr_confirm_popup.
    gr_confirm_popup->set_on_close_event( iv_event_name = 'CONFIRM_POPUP_CLOSED'
                                                                      iv_view = me ).
    gr_confirm_popup->open( ).
    Create an event handler for the event "CONFIRM_POPUP_CLOSED".
    METHOD eh_onconfirm_popup_closed.
    IF gr_confirm_popup IS BOUND.
         lv_flag = gr_confirm_popup->get_fired_outbound_plug( ).
         IF lv_flag = 'Y'.
           " Yes
         ELSE lv_flag = 'N'.
           " No
         ELSE.
           " X Button pressed
         ENDIF.
       ENDIF.
    ENDIF.
    IF lv_flag = 'Y' or 'N' or ' '.
      " Implement your logic
    ENDIF.
    ENDMETHOD.
    Regards,
    Karthi M R.

  • How to add close button in pannel ?

    hai friends,
        how to add close button in pannel ? give any example.
    regards,
    welcomecan

    Hi Welcomecan,
    You can use the TitleWindow as suggested by Subeesh for having a built in close button...The TitleWindow is infact an extension of the Panel container. TitleWindow is most generally
    used for creating PopUp Windows.
    Check the below link for examples...
    http://blog.flexexamples.com/?s=TitleWindow
    Thanks,
    Bhasker

  • How do I add a close window button/image

    All I want to do: Add a close window button (round/square with an "x" through it) to either one or many html files. I don't see how to do this.
    Using RoboHelp 8 HTML and WinXP. Thanks.

    Ahh I see now. You are asking where to obtain such an image!
    The RoboHelp Gallery doesn't contain one. Sorry. You will need to obtain one from any number of other locations.
    You might look at the following link for one possibility.
    Icon Archive
    Here are a couple from my own colloection. You might right-click and save as.
    There are also a number of packages you may purchase or find. Perhaps the following link will help.
    Click here to search Google
    I cannot advise on the legal implications of using said images.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Popup window - Close button

    Hi,
    We have a requirement to disable/hide the standard close button present in the Internet Explorer while opening a popup window (the X icon present in the top right section of internet explorer window) . Any pointers on how to achieve this would be really helpful.
    Thanks in advance.

    I don't think it is possible to hide X of any window, as it is default feature of explorer by MSDN.
    --Mukul                                                                                                                                                                                                                                               

  • I don't like the look of the new firefox and I treid to change the theme by clicking on an Add-on, but nothing happened and nothing changed. Also I can't see the minimize and close buttons on the corner of my screen.

    the Add-on didn't work to download. It was the Qute theme to make firefox look more like an older version.
    Also the top right corner of my screen is black and I can't see the minimize or restore or close button. they work by me guessing where to place my mouse, but the buttons can't be seen.

    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • No Close button on add-ons window

    I am currently running Firefox 3.6.10 (latest version) and I've noticed that the "close" button is now missing from the lower right hand side of the add-ons window. There used to be 2 buttons; "Find Updates" and "Close". The "Close" button is missing.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Add the option for a close button on the Scattered setting .

    Add the option for a close button on the Scattered setting ... like you have with all the other options - needed for touch devices as the roll out is no use on an ipad or iphone etc etc....

    This was the original code I got:
    Main FLA: (on AS layer inside DropDownButton Movie Object)
    function removeF() {
    removeChild(myLoader);
    var myLoader:Loader=new Loader ();
    page1_mc.addEventListener(MouseEvent.CLICK, page1content);
    function page1content(myevent:MouseEvent):void {
    var myURL:URLRequest=new URLRequest("page1.swf");
    myLoader.load(myURL);
    addChild(myLoader);
    EXTERNAL FLA: (on main time line of this file)
    close_mc.addEventListener(MouseEvent.CLICK, closeMC);
    function closeMC(myevent:MouseEvent):void {
    MovieClip(parent.parent).removeF();
    Main.FLA
    myLoader=bigboreLoader (my new loader)
    page1_mc=btnbb2 (the button who event will call external swf)
    page1content = bigborecontent (name given to SWF being loaded???)
    myURL=bigboreRequest (my new URLrequest for bigbore)
    page1.swf=moduletemplate.swf (actual address of what I am loading)
    External.FLA
    close_mc=button that will close external swf
    closeMC=movie clip to close?

Maybe you are looking for

  • Setting displayname as header in GetDataTable

    HI, I am fetching records from a custom list and binding to a datatable. The datatable works, but the header shows the Internal names of the columns. How to set the display name of the column as header when converting to datatable. My current code is

  • Can't install  updates

    After the last Quicktime update, yesterday's Pro App update could not be installed: "The update … could not be installed. Software Update could not unpack the package correctly." This has never happened before - since my Mac OS 7 days. A look into th

  • Time Comparison and Subtracting

    I have a requirement regarding time like i need to compare two time datatype fields, like Start time and End time, End time should not be greater than Start Time. Also Lunch break field will be entered in mins. So, now I need to display in a field Wo

  • OS X server  SSL Certificate Edit button missing

    Hello, Just purchased a mac mini server with Mountain Lion server preinstalled.  The initial setup with the wizard went smooth and have open directory setup and look good.  When I went to connect to it with my macbook it gave me a SSL missing warning

  • I need a text area that is displayed after

    I need a text area that is displayed after the user has entered value in parameters textboxes. Assume that I have to parameters area and when the program run, they are displayed and ready to get input. My problem is after that: When the input has bee