Jan 07, 2010, 4:45 PM
[CLOSED] [1.0] TabPanel in a ViewPort with IDMode set to Explicit problem
Hi,
I have encountered a similar problem as in http://forums.ext.net/showthread.php...4922-16-1.aspx
This time it is for TabPanel. I don't have the time right now to prepare a full example, but if the below is not enough, let me know.
ViewPort uses an explicit id mode. If I don't set ID for TabPanel explicity (if I do - it works fine), I get the following JS error:
"ctl00_content_ctl14 is not defined" The related autogenerated JS code is:
ctl00_content_ctl14 is the TabPanel
This is a basic outline of the related layout.
Regards,
Tadeusz
I have encountered a similar problem as in http://forums.ext.net/showthread.php...4922-16-1.aspx
This time it is for TabPanel. I don't have the time right now to prepare a full example, but if the below is not enough, let me know.
ViewPort uses an explicit id mode. If I don't set ID for TabPanel explicity (if I do - it works fine), I get the following JS error:
"ctl00_content_ctl14 is not defined" The related autogenerated JS code is:
ctl00_content_ctl14.on("beforetabchange",function(el,newTab){this.getActiveTabField().setValue(newTab.id
+ ':' + el.items.indexOf(newTab));});ctl00_content_ctl14.doLayout();})
ctl00_content_ctl14 is the TabPanel
This is a basic outline of the related layout.
<ext:Viewport ID="viewPort" runat="server" IDMode="Explicit">
<Content>
<ext:FitLayout runat="server">
<Items>
<ext:Panel runat="server">
<Content>
<ext:BorderLayout runat="server">
<North MinHeight="120" Split="true">
</North>
<Center>
<ext:Panel runat="server" Border="false">
<Content>
<ext:FitLayout runat="server">
<Items>
<ext:TabPanel runat="server" Border="false" ActiveTabIndex="0" DeferredRender="false" >
<Items>
Regards,
Tadeusz