View Full Version : [CLOSED] Loading windows' IFRAME url BEFORE showing window..

Mar 14, 2014, 1:12 AM
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" />
<ext:Button ID="SaveButton" runat="server" Icon="Disk" Text="Ok" Disabled="false">


<ext:Button ID="btnCa" runat="server" Icon="Decline" Text="Cancel">
<Click Handler="#{winEdit}.close();" />


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() ,
'q':#{hidQ}.getValue() }});


Mar 14, 2014, 5:05 AM
Hi @rthiney,

Here is a possible solution.