View Full Version : [FIXED] TabPanel State in UserControl

Mar 07, 2008, 6:28 AM

I am monitoring your releases of Coolite controls, and i think you are doing an excellent job here in wrapping ExtJs for asp.Net.

Currently I'm working with the Coolite TabPanel ( and i think i found a bug that i would like to share.

When placing the TabPanel inside a usercontrol the state of the tabpanel is not saved across postbacks.

<U>Example code:</U>

<cool:ScriptManager runat="server" ID="ScriptManager1" />
<cc:UserControl ID="uc" runat="server" />
<cool:TabPanel runat="server" ID="tabpanel" Width="300" ActiveTab="0" Height="200" AutoPostBack="true">
<cool:Tab Title="tab1" runat="server" ID="tab1">
<cool:Tab Title="tab2" runat="server" ID="tab2">

In this example you see 2 tabpanels, one placed inside a usercontrol and one placed outside the usercontrol. The outer tabpanel works fine, but the tabpanel inside the usercontrol doesn't maintain it's state correctly.
The usercontrol in this example contains the same TabPanel declaration as the outside declaration (seen above).

Possibly, the TabPanel control should implement INamingContainer?

Martijn Clarenbeek

Mar 07, 2008, 1:09 PM
Hi Martijn,

Thanks for letting us know about the AutoPostBack problem. I'm going to release an update (version 0.4.1) on 11-Mar-2008, which should include a fix for this bug.

Thanks as well for the feedback! I really appreciate you taking the time to notify us of any defects.

Mar 08, 2008, 3:06 AM
Hi Martijn,

We have fixed the TabPanel bug. The fix will be included in the Tuesday (v0.4.1) release.