我遇到微軟.Net Ajax工具包HtmlEditorExtender控件的一個小問題。我遇到的問題是底部工具欄(可以進入HTML視圖模式的那個工具欄)不顯示,只顯示文本框上方的頂部工具欄。這是.net 3.5版本。 問題是如何顯示底部的工具欄或我做錯了什麼。見下面的代碼。.NET Ajax工具包HtmlEditorExtender不顯示底部工具欄
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<asp:TextBox ID="txbMessage" runat="server" Width="95%"
TextMode="MultiLine" Height="156px"></asp:TextBox>
<ajax:HtmlEditorExtender
ID="htmlEditorExtender1"
TargetControlID="txbMessage"
runat="server" >
<Toolbar>
<ajax:Undo />
<ajax:Redo />
<ajax:Bold />
<ajax:Italic />
<ajax:Underline />
<ajax:StrikeThrough />
<ajax:Subscript />
<ajax:Superscript />
<ajax:JustifyLeft />
<ajax:JustifyCenter />
<ajax:JustifyRight />
<ajax:JustifyFull />
<ajax:InsertOrderedList />
<ajax:InsertUnorderedList />
<ajax:CreateLink />
<ajax:UnLink />
<ajax:RemoveFormat />
<ajax:SelectAll />
<ajax:UnSelect />
<ajax:Delete />
<ajax:Cut />
<ajax:Copy />
<ajax:Paste />
<ajax:BackgroundColorSelector />
<ajax:ForeColorSelector />
<ajax:FontNameSelector />
<ajax:FontSizeSelector />
<ajax:Indent />
<ajax:Outdent />
<ajax:InsertHorizontalRule />
<ajax:HorizontalSeparator />
<%--<ajax:InsertImage />--%>
</Toolbar>
</ajax:HtmlEditorExtender>
<ajax:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajax:ToolkitScriptManager>