[CLOSED] Loading windows' IFRAME url BEFORE showing window..

  1. #1

    [CLOSED] Loading windows' IFRAME url BEFORE showing window..

    Hi Guys...me again ;)

    I may have asked before, but is there any way that I can "background" load a window, before showing it?
    I have a window defined in markup, that I load a dynamic URL with specific params:

    <ext:Window runat="server" ID="winEdit" Flex="1" Title="Editor" Hidden="true" Icon="Pencil" TitleAlign="Center" Resizable="true" ButtonAlign="Left" Modal="true" Width="850" Height="200"   
            Maximizable="false" DestroyContent="true" AutoScroll="false" Constrain="true" Closable="false">
            <Loader ID="Loader1" runat="server" AutoLoad="false" Mode="Frame" RemoveAll="true">
                <LoadMask Msg="Loading..." ShowMask="true" /> 
            </Loader>
            <Buttons>
                <ext:Button ID="SaveButton" runat="server" Icon="Disk" Text="Ok" Disabled="false">
                
                </ext:Button>
               
                <ext:Button ID="btnCa" runat="server" Icon="Decline" Text="Cancel">
                    <Listeners>
                        <Click Handler="#{winEdit}.close();" />
                    </Listeners>
                </ext:Button>
            </Buttons>
          
        </ext:Window>
    I load, then show the window... the window comes up quickly, with the loading msg... I want it to be already loaded when the user
    clicks the link... how can I do that?
    
    function OpenWindow(windowType)
    {
      #{winEdit}.load({url:windowType + '.aspx',
                     params:{'portfolioId':#{hidPortfolioId}.getValue(),
                      'documentId':#{hidDocumentId}.getValue(),
                      'fundId':#{hidFundId}.getValue()  
                      'y':#{hidY}.getValue(),
                      'q':#{hidQ}.getValue() }}); 
             
    }
    Last edited by Daniil; Mar 19, 2014 at 8:50 AM. Reason: [CLOSED]
  2. #2
    Hi @rthiney,

    Here is a possible solution.
    http://forums.ext.net/showthread.php...l=1#post113456

Similar Threads

  1. How to close windows from a child iFrame button?
    By metallica87 in forum 2.x Help
    Replies: 2
    Last Post: Nov 14, 2012, 4:30 AM
  2. [CLOSED] Showing Ext Windows
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 20, 2012, 6:48 PM
  3. Replies: 3
    Last Post: May 05, 2011, 9:06 PM
  4. [CLOSED] [1.0] showing windows in MVC
    By tdracz in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 16, 2009, 12:26 PM
  5. [CLOSED] ext:Window iframe loading problem
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 03, 2008, 7:31 AM

Posting Permissions