Dec 16, 2011, 7:33 PM
still error
I tried code but still error.
IE: 'parent.Ext.TabPanel1' is null or not an object
Chrome: Cannot call method 'getComponent' of undefined
I tried add 2 buttons (objCheck, Hide2)
but when use with command "parent.Ext.fly ... "
still error
IE: 'parent.Ext.fly(...).child(...)' is null or not an object
Chrome: Cannot call method 'hide' of null
IE: 'parent.Ext.TabPanel1' is null or not an object
Chrome: Cannot call method 'getComponent' of undefined
I tried add 2 buttons (objCheck, Hide2)
<ext:Button ID="objCheck" runat="server" Text="objCheck">
<Listeners>
<Click Handler="alert(parent.idEmployees.tabEl);" />
</Listeners>
</ext:Button>
<ext:Button ID="ButtonHide2" runat="server" Text="Hide2">
<Listeners>
<Click Handler="parent.Ext.fly(parent.idEmployees.tabEl).child('x-tab-strip-close').hide();" />
</Listeners>
</ext:Button>
when click 'objCheck' button it seem to be found [Object] for IE or [Object HTMLLIElement] for Chromebut when use with command "parent.Ext.fly ... "
still error
IE: 'parent.Ext.fly(...).child(...)' is null or not an object
Chrome: Cannot call method 'hide' of null