我的 TabContainer 但是当我运行 TabContainer 时没有显示。
<asp:TabContainer ID="TC_Article" runat="server" ActiveTabIndex="0" Width="100%"
Visible="true">
<asp:TabPanel ID="Add" runat="server">
<HeaderTemplate>
Add New</HeaderTemplate>
<ContentTemplate>
<div class="gridpading" id="div" runat="server">
<table border="0" cellspacing="0" style="border-style: solid; border-width: 1px;"
runat="server" visible="False">
<tr id="tr_body" runat="server" visible="False">
<td align="left" width="150px" class="CDtxt" runat="server">
<asp:Label ID="lbl_Body" runat="server" Text="Article_Body"></asp:Label>
</td>
<td align="left" class="CDtxt" runat="server">
<table>
<tr>
<td valign="top">
<cc1:Editor ID="Ed_Body" runat="server" Height="340px" Width="100%" />
</td>
</tr>
</table>
</td>
<td style="width: 194px" runat="server">
</td>
</tr>
</table>
</div>
</ContentTemplate>
</asp:TabPanel>
</asp:TabContainer>
我添加了注册
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
TagPrefix="cc1" %>
答案 0 :(得分:0)
Namespace中的Register标记存在问题,并且还在页面中添加了脚本管理器。试试这个。
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>