Error:
You will get following error, if you try to add a sever control to AjaxTollkit’s tab panel.
TabContainer cannot have children of type 'System.Web.UI.WebControls.DataList'.
That’s because tab panel must be a server control, it should have an ID and runat =”server” attribute.
Solution:
Add an ID and runat =”server” attribute to that TabPanel, like this..
<cc1:TabContainer ID="TabContainer1" runat="server">
<cc1:TabPanel ID="TabPanel1" runat="server">
<ContentTemplate>
<asp:DataList ID="DataList1" runat="server">
</asp:DataList>
<asp:Label ID="Label1" runat="server" Text="Label">
</asp:Label>
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>