May 10, 2010, 7:30 PM
Refreshing a tab on activate
Hi,Im just trying to get a tab to alway reload whenever its activated, but its not executing for some reason:
I know the handler fires because I can put an 'alert' in and that works.
but nothing happens when I try the above code.
Have I done it wrong?
Luca
Edit: Sorry, couldnt get the code tag working properly.
<ext:Tab ID="Tab2" runat="server" Title="Banking" Border="false">
<AutoLoad Url="/Home/mockdata/" Mode="IFrame" ShowMask="true" MaskMsg="Loading ..." />
<Listeners>
<Activate Handler="Ext.getCmp('Tab2').load('/home/mockdata');" />
</Listeners>
</ext:Tab>
I know the handler fires because I can put an 'alert' in and that works.
but nothing happens when I try the above code.
Have I done it wrong?
Luca
Edit: Sorry, couldnt get the code tag working properly.