locked
Tabs control - Add and delete tabs at run time RRS feed

  • Question

  • User1503865340 posted

    Hi, 

    Is the Tabs control in the Ajax control toolkit enables to addding and deleting tabs at run time like it can be done in browsers (IE,FF,Chrome...)?

    Thanks

    David

    Wednesday, January 1, 2014 2:54 AM

Answers

  • User1734617369 posted

    Hi,

    Yes it is possible to add tabs at runtime, you can add tabs to the tab panel collection on the server side for example, like

    TabContainer1.Tabs.Add(new TabPanel { HeaderText = "New tab", ID = Guid.NewGuid().ToString() });

    Best regards
    Johan

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 2, 2014 3:18 AM

All replies

  • User1734617369 posted

    Hi,

    Yes it is possible to add tabs at runtime, you can add tabs to the tab panel collection on the server side for example, like

    TabContainer1.Tabs.Add(new TabPanel { HeaderText = "New tab", ID = Guid.NewGuid().ToString() });

    Best regards
    Johan

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 2, 2014 3:18 AM
  • User1503865340 posted

    Hi Johan,

    Thanks for your help

    Thursday, January 2, 2014 10:06 AM