ASP.NET & Ajax Tab Control

Last post 11-12-2008 5:19 PM by Lyndsey Paxton. 10 replies.

Sort Posts:

  • ASP.NET & Ajax Tab Control

    08-21-2008, 12:15 PM
    • Member
      59 point Member
    • Phillip J
    • Member since 08-11-2006, 5:26 PM
    • Ventura, CA.
    • Posts 203

    I have issues wiot teh Tab Control in the new Ajax package...

    I have built the new section in my toolbox abd added the AjaxControl Toolkit to it.

    I have created a page and added a Tab control to it...

    As soon as I change any property of the Tab control either by HTML code or from the GUI the Tab Control interface colapses and changes to display a grey erro box titled cc1:tabcontainer#TabContainer1 -  "Error Creating Control - TabContainer 1  '0' could not be set on property 'ActiveTabIndex'.

    <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Width="451px">

    <cc1:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">

    </cc1:TabPanel>

    <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">

    </cc1:TabPanel>

    <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="TabPanel3">

    </cc1:TabPanel>

    </cc1:TabContainer>

    Thanks
    Phillip J.
    Ventura, Ca. USA/Savusavu, Fiji
  • Re: ASP.NET & Ajax Tab Control

    08-21-2008, 4:24 PM
    • Participant
      1,708 point Participant
    • mvang
    • Member since 12-27-2007, 6:59 PM
    • Mid West
    • Posts 361
    Phillip J:

    <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Width="451px">

    Just change the ActiveTabIndex= 0 to a 1

    "If you have knowledge, let others light their candles in it."
    — Margaret Fuller
  • Re: ASP.NET & Ajax Tab Control

    08-21-2008, 4:43 PM
    • Member
      59 point Member
    • Phillip J
    • Member since 08-11-2006, 5:26 PM
    • Ventura, CA.
    • Posts 203

    If I change it to a 1 as you suggest, the tool will turn grey and add the error (see above original) but referance the ActiveTab as 1 then.. and is disabled

    Back to square one...

     

    Sorry dude.

    Thanks
    Phillip J.
    Ventura, Ca. USA/Savusavu, Fiji
  • Re: ASP.NET & Ajax Tab Control

    09-11-2008, 5:37 PM
    • Member
      4 point Member
    • rayace
    • Member since 09-11-2008, 9:36 PM
    • Posts 2

    Was this ever resolved?

  • Re: ASP.NET & Ajax Tab Control

    09-11-2008, 7:43 PM
    Answer
    • Member
      59 point Member
    • Phillip J
    • Member since 08-11-2006, 5:26 PM
    • Ventura, CA.
    • Posts 203

    Not really I ended up having to reimage my machine and reinstall all the software

    That did resovle the issue... but thanks for asking I shall make it as resolved.

    Thanks
    Phillip J.
    Ventura, Ca. USA/Savusavu, Fiji
  • Re: ASP.NET & Ajax Tab Control

    10-02-2008, 10:38 AM
    • Member
      4 point Member
    • aspdeviac
    • Member since 10-02-2008, 2:33 PM
    • Posts 2

     I am having the same problem after I upgraded to ASP.NET 3.5 SP 1.  All my pages have the tab control error for ActiveTabIndex.  If I delete the offending syntax, I get another error down on another part of the Ajax control.  The strange thing is that when I run the application the tabs work fine.  Only when I view the page in design mode in VS2008 to I get the error.

    What exactly did you have to do when you said reimage your machine?  Reinstall the OS?  Which software did you reinstall?  ASP 3.5 or VS2008?

     Thanks for any tips,

     iac

  • Re: ASP.NET & Ajax Tab Control

    10-05-2008, 1:27 AM
    • Member
      16 point Member
    • ripsin
    • Member since 03-13-2007, 5:13 AM
    • USA
    • Posts 9

    This may help, as I was having the same issues as you guys.  In the Solution Explorer, check your  Start Options.  Browse to References, then highlight the AjaxControlToolkit and press the Update button.  Make sure you have your pages closed with the controls that are showing errors.  Next, rebuild your website.  Finally, open your page and see if this worked.  I tried a few things and this was the step that seemed to make all of my controls come back to life.  I'm running VS2008 sp1 ASP.NET 3.5 Ajax Control Toolkit SP1.

    Let me know if I answered this for you guys, and good luck!

    Todd

  • Re: ASP.NET & Ajax Tab Control

    10-05-2008, 1:29 AM
    • Member
      16 point Member
    • ripsin
    • Member since 03-13-2007, 5:13 AM
    • USA
    • Posts 9

    Phillip,  check my post and see if it helps.  Good Luck.

    Todd

  • Re: ASP.NET & Ajax Tab Control

    10-06-2008, 9:23 PM
    • Member
      4 point Member
    • aspdeviac
    • Member since 10-02-2008, 2:33 PM
    • Posts 2

    The update button is grayed out for me. 

  • Re: ASP.NET & Ajax Tab Control

    10-08-2008, 12:16 AM
    • Member
      16 point Member
    • ripsin
    • Member since 03-13-2007, 5:13 AM
    • USA
    • Posts 9

    You did have the dll highlighted?

  • Re: ASP.NET & Ajax Tab Control

    11-12-2008, 5:19 PM

    Hi,

    I was experiencing a similar problem. I had upgraded a VS2005 Ajax site to VS2008 and the Tab control was stating that the ActiveTabIndex could not be set.

    I discovered that although I was referencing the framework 3.5 version of the AjaxControlToolkit, I still had a reference to the previous version of the AjaxControlToolkit in the  VS2008 toolbox. I deleted the AJAX Control toolkit tab from the Toolbox and browsed to my framework 3.5 version of the AjaxControlToolkit.dll and the Tab control then rendered correctly in design view within the IDE.


     

     

Page 1 of 1 (11 items)