Hi, i am creating dinamically tabs on a TabContainer and all display and work well.
But when the you look the HTML of TabPanel have the id repeated like that:
<div id="ctl00_uxcph_body_uxtc_tabs_uxtp_es" id="ctl00_uxcph_body_uxtc_tabs_uxtp_es" class="ajax__tab_panel">
ASPX CODE OF TAB CONTAINER
This is inside an asp:Content element.
<ajaxToolkit:TabContainer ID="uxtc_tabs" runat="server" />
ASPX.CS CODE OF CREATING TABS
TabPanel tabPanel = new TabPanel();
tabPanel.ID = "uxtp_" + idioma.Abreviatura;
tabPanel.HeaderText = idioma.Nombre;
uxtc_tabs.Tabs.Add(tabPanel);
After this code, I created other controls inside the TabPanel like HtmlGenericControl, Label, TextBox, UpadePanel and RequiredFieldValidator and all works and displays fine.
But when the you look the HTML of TabPanel have the id repeated like that:
<div id="ctl00_uxcph_body_uxtc_tabs_uxtp_es" id="ctl00_uxcph_body_uxtc_tabs_uxtp_es" class="ajax__tab_panel">
ASPX CODE OF TAB CONTAINER
This is inside an asp:Content element.
<ajaxToolkit:TabContainer ID="uxtc_tabs" runat="server" />
ASPX.CS CODE OF CREATING TABS
TabPanel tabPanel = new TabPanel();
tabPanel.ID = "uxtp_" + idioma.Abreviatura;
tabPanel.HeaderText = idioma.Nombre;
uxtc_tabs.Tabs.Add(tabPanel);
After this code, I created other controls inside the TabPanel like HtmlGenericControl, Label, TextBox, UpadePanel and RequiredFieldValidator and all works and displays fine.