Nov 18, 2011, 2:28 PM
[CLOSED] Object doesn't support property or method 'setContainer'
I have a tab panel with two panels in it. The second panel has autoload IFrame which get its content loaded when the panel is shown. However, when it is shown I get the following javascript error: Object doesn't support property or method 'setContainer'.
<ext:TabPanel ID="tabMain" runat="server">
<Items>
<ext:Panel ID="panel1" runat="server" Title="Panel 1">
<Content>
Panel 1
</Content>
</ext:Panel>
<ext:Panel ID="panel2" runat="server" Title="Panel 2">
<AutoLoad Mode="IFrame">
</AutoLoad>
<Listeners>
<Show Handler="#{panel2}.loadContent('http://www.google.com');" />
</Listeners>
</ext:Panel>
</Items>
</ext:TabPanel>
What am I doing wrong?
Last edited by Daniil; Nov 18, 2011 at 5:26 PM.
Reason: [CLOSED]