Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: TabPanel print two ids in HTML [27073]

$
0
0
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.
Comments: I forget to comment that I was using ASP.NET 4 and AjaxControlToolkit of November 2011 on Visual Studio 2010

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>