Mar 05, 2011, 8:07 AM
Cancel Deferred render IFrame in Card layout
Hello!
I have a panel with a card layout. But I can't run load iframe in second panel. How I can load iframe automatically after render? I've tried to load it after render but it hadn't help.
I have a panel with a card layout. But I can't run load iframe in second panel. How I can load iframe automatically after render? I've tried to load it after render but it hadn't help.
<ext:FormPanel ID="MainDocumentForm" runat="server" Layout="card" Region="Center" ActiveIndex="0">
<LayoutConfig>
<ext:CardLayoutConfig DeferredRender="false" />
</LayoutConfig>
<Items>
<test:ScaningPanel ID="DocumentContentPanel" runat="server" />
<ext:Panel ID="ProjectCard" runat="server" >
<AutoLoad Mode="IFrame" ShowMask="true" Url="http://google.com" />
<Listeners>
<AfterRender Handler="
this.update(Ext.isObject(this.autoLoad) ? this.autoLoad : {url: this.autoLoad});
this.show();" />
</Listeners>
</ext:Panel>
<ext:Panel ID="HistoryCard" runat="server" >
<AutoLoad Url="/Forms/HistoryPanel.aspx" ShowMask="true" Mode="IFrame"></AutoLoad>
</ext:Panel>
</Items>
</ext:FormPanel>