Oct 15, 2013, 12:19 AM
[CLOSED] Load window via loader without showing?
Is it possible to dynamically load a window without showing it, then show it at a later time?
<ext:Window runat="server" ID="winEdit" Flex="1" Title="Editor" Hidden="true" Icon="Pencil" TitleAlign="Center" Resizable="false" ButtonAlign="Center" Modal="true"
Maximizable="false" DestroyContent="true" AutoScroll="false">
<Loader ID="Loader1" runat="server" AutoLoad="false" Mode="Frame" RemoveAll="true">
</Loader>
</ext:Window>
Javascript code to load:
#{winEdit}.load({url:label+'.aspx',
params:{'portfolioId':#{hidPortfolioId}.getValue(),
'documentId':#{hidDocumentId}.getValue(),
'fundId':fundId,
'y':#{hidY}.getValue(),
'q':#{hidQ}.getValue() }});
Last edited by Daniil; Oct 18, 2013 at 4:52 AM.
Reason: [CLOSED]