[FIXED] TabPanel State in UserControl

  1. #1

    [FIXED] TabPanel State in UserControl



    Hi,

    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 (0.4.0.6901) and i think i found a bug that i would like to share.

    <U>Description:</U>
    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">
        <Items>
            <cool:Tab Title="tab1" runat="server" ID="tab1">
                <Content>Content1</Content>
            </cool:Tab>
            <cool:Tab Title="tab2" runat="server" ID="tab2">
                <Content>Content2</Content>
            </cool:Tab>
        </Items>
    </cool:TabPanel>
    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?

    Thanks,
    Martijn Clarenbeek
  2. #2

    RE: [FIXED] TabPanel State in UserControl

    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.
    Geoffrey McGill
    Founder
  3. #3

    RE: [FIXED] TabPanel State in UserControl

    Hi Martijn,

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

Similar Threads

  1. [CLOSED] TabPanel usercontrol error
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 01, 2011, 10:27 AM
  2. Replies: 4
    Last Post: Jun 24, 2010, 11:09 PM
  3. UserControl & TabPanel
    By Yannis in forum 1.x Help
    Replies: 0
    Last Post: Nov 13, 2009, 11:41 PM
  4. Replies: 6
    Last Post: Jan 07, 2009, 8:31 AM
  5. Replies: 24
    Last Post: Nov 06, 2008, 7:19 AM

Posting Permissions