[CLOSED] Window - reload

  1. #1

    [CLOSED] Window - reload

    How can I force a window to reload it's contents on load or how can I force a window to "destroy" its content on close?
    Last edited by Daniil; Jul 25, 2012 at 5:23 PM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by adelaney View Post
    How can I force a window to reload it's contents on load
    Is this content loaded with a <Loader Mode="Frame">?

    or how can I force a window to "destroy" its content on close?
    Setting CloseAction="Destroy" on the Window will destroy the Window and it's contents when closed.
    Geoffrey McGill
    Founder
  3. #3
    Ok. So maybe I didn't mean "destroy" since the window won't open again. Maybe some clarification would help. Essentially, I have a grid which is parent records with a button to "view details" (child records) which launches the window with a frame to the details page. When the grid button is clicked, I am simply changing the loader URL to the correct child path (e.g. "/team/details/1", "/team/details/2", "/team/details/3",etc.) When I open the first window, it is fine as the page is loading the first time, but thereafter, the window pops open with the old content and then swaps over to the new. It isn't broken, per se, but it isn't sensible to the user. I would prefer that the widow "forget" the frame and be blank while loading, or if nothing else, I would accept a mask that shows it's loading. However, my preference is that the window not cache it's previously loaded frame. Is there a way to do this by a window setting, or is there another way that is required to implement this functionality?
  4. #4
    Hi,

    I would try to call
    App.Window1.clearContent();
    before reloading.
  5. #5
    Thank you. That was what I needed. You may close the ticket.

Similar Threads

  1. desktop window Reload
    By krishna in forum 1.x Help
    Replies: 4
    Last Post: Feb 13, 2012, 11:11 AM
  2. [1.0] reload is not working in popup window
    By thiefo in forum 1.x Help
    Replies: 1
    Last Post: Jun 08, 2010, 9:14 AM
  3. Reload Parent Window from Child Window
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Sep 08, 2009, 10:54 AM
  4. [CLOSED] Reload usercontrol in a window
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 14, 2009, 12:08 PM
  5. how to reload ComboBox from Ext Window
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 26, 2008, 2:15 PM

Tags for this Thread

Posting Permissions