TabPanel ActiveTab.ID error in AjaxMethod

  1. #1

    TabPanel ActiveTab.ID error in AjaxMethod



    Hi
    Im accessing the Tabpanel1.ActiveTab.Id in a AjaxMethod, this works fine for tabs created using markup in the aspx file. But When the same code is executed while i have a tab created in JavaScript and this tab is active, I get an exception. Can you please look at this. This is proably related to the bug I found on the ActiveTabIndex.

    /Mikael
  2. #2

    RE: TabPanel ActiveTab.ID error in AjaxMethod

    Hi,
    Just wondering if you have confirmed this bug? Its a lot like this bug i found.
    http://forums.ext.net/showthread.php...=4742-5-1.aspx
    Its probably related

    /Mikael
  3. #3

    RE: TabPanel ActiveTab.ID error in AjaxMethod

    Sorry to rush this, but I really need this to work this week. Im gonna have a demo for the customer this week and it would be great if this was working then.
    Can you please get back to me what the status is!

    /Mikael
  4. #4

    RE: TabPanel ActiveTab.ID error in AjaxMethod

    Hi Mikael,

    The problem is an new Tab is created on the client and is never (re)created on the server. The ActiveTabIndex property is available, and correct, but getting the .ActiveTab property tries to return the index of the Tab Control from the Tabs Collection, which does not exist.*


    We might change this to throw a more specific "TabIndexOutOfRange" Exception which would allow for a more specific catch.*


    We're also going to be doing some API work on the TabPanel during the v0.8 cycle, although I don't think that work will start for at least a couple weeks.*


    Geoffrey McGill
    Founder
  5. #5

    RE: TabPanel ActiveTab.ID error in AjaxMethod

    ok I see. How do I solve this then? Do I manualy have change the ActiveTabIndex property to something that is in range?

    And how do I know when Im out of range?

    /Mikael

Similar Threads

  1. [CLOSED] Tabpanel and ActiveTab
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Aug 25, 2009, 3:55 PM
  2. TabPanel.ActiveTab question
    By ydnah2 in forum 1.x Help
    Replies: 2
    Last Post: Aug 04, 2009, 10:15 PM
  3. Get TabPanel ActiveTab inside Other TabPanel.
    By grmontero in forum 1.x Help
    Replies: 1
    Last Post: Jul 16, 2009, 11:45 AM
  4. [CLOSED] Breaking changes on TabPanel ActiveTab
    By ljcorreia in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Oct 14, 2008, 12:52 PM
  5. Problem with TabPanel Control ActiveTab
    By matmani in forum 1.x Help
    Replies: 2
    Last Post: Jun 09, 2008, 8:18 PM

Posting Permissions