问题描述
<FTB:FreeTextBoxID="FreeTextBox1"runat="server"IsFullDocument="true"Width="900px"Height="500px"Theme="office12"><FTB:ToolbarGroupTitle="Font"><FTB:ToolbarItemName="ParagraphMenu"/><FTB:ToolbarItemName="FontFacesList"/><FTB:ToolbarItemName="FontSizesList"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="Bold"/><FTB:ToolbarItemName="Italic"/><FTB:ToolbarItemName="Underline"/><FTB:ToolbarItemName="Strikethrough"/><FTB:ToolbarItemName="separator"/><FTB:ToolbarItemName="Superscript"/><FTB:ToolbarItemName="Subscript"/><FTB:ToolbarItemName="separator"/><FTB:ToolbarItemName="FontForeColorPicker"/><FTB:ToolbarItemName="FontBackColorPicker"/></FTB:ToolbarGroup><FTB:ToolbarGroupTitle="Format"><FTB:ToolbarItemName="BulletedList"/><FTB:ToolbarItemName="NumberedList"/><FTB:ToolbarItemName="Indent"/><FTB:ToolbarItemName="Outdent"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="JustifyLeft"/><FTB:ToolbarItemName="JustifyRight"/><FTB:ToolbarItemName="JustifyCenter"/><FTB:ToolbarItemName="JustifyFull"/></FTB:ToolbarGroup><FTB:ToolbarGroupTitle="Edit"><FTB:ToolbarItemName="Cut"/><FTB:ToolbarItemName="Copy"/><FTB:ToolbarItemName="Paste"/><FTB:ToolbarItemName="PasteFromWord"/><FTB:ToolbarItemName="PasteCode"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="Undo"/><FTB:ToolbarItemName="Redo"/><FTB:ToolbarItemName="Print"/><FTB:ToolbarItemName="Save"/><FTB:ToolbarItemName="Clear"/></FTB:ToolbarGroup><FTB:ToolbarGroupTitle="Table"><FTB:ToolbarItemName="InsertTable"/><FTB:ToolbarItemName="InsertTableColumnBefore"/><FTB:ToolbarItemName="InsertTableColumnAfter"/><FTB:ToolbarItemName="InsertTableRowBefore"/><FTB:ToolbarItemName="InsertTableRowAfter"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="DeleteTableColumn"/><FTB:ToolbarItemName="DeleteTableRow"/><FTB:ToolbarItemName="MergeCells"/><FTB:ToolbarItemName="SplitCell"/></FTB:ToolbarGroup><FTB:ToolbarGroupTitle="Css"><FTB:ToolbarItemName="CssClass"/><FTB:ToolbarItemName="EditCssProperties"/><FTB:ToolbarItemName="WordClean"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="CssClassList"><FTB:ToolbarListItemText="<spanclass='sampleClass'>SampleClass</span>"Value="sampleClass"/></FTB:ToolbarItem></FTB:ToolbarGroup><FTB:ToolbarGroupTitle="Insert"><FTB:ToolbarItemName="Insert"/><FTB:ToolbarItemName="InsertRule"/><FTB:ToolbarItemName="InsertImage"/><FTB:ToolbarItemName="CreatLink"/><FTB:ToolbarItemName="Unlink"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="InsertHtmlMenu"><FTB:ToolbarListItemValue="<b>someboldtext</b>"Text="<b>boldtext</b>"/><FTB:ToolbarListItemValue="<b>someitalictext</b>"Text="<i>italictext</i>"/></FTB:ToolbarItem></FTB:ToolbarGroup></FTB:FreeTextBox><FTB:FloatieID="Floatie1"runat="server"TargetEditor="FreeTextBox12"><FTB:ToolbarGroup><FTB:ToolbarItemName="ParagraphMenu"/><FTB:ToolbarItemName="BulletedList"/><FTB:ToolbarItemName="NumberedList"/><FTB:ToolbarItemName="break"/><FTB:ToolbarItemName="CreateLink"/><FTB:ToolbarItemName="Bold"/><FTB:ToolbarItemName="Italic"/><FTB:ToolbarItemName="Underline"/><FTB:ToolbarItemName="Strikethrough"/><FTB:ToolbarItemName="separator"/><FTB:ToolbarItemName="Superscript"/><FTB:ToolbarItemName="Subscript"/></FTB:ToolbarGroup></FTB:Floatie>运行的时候总出现错误如下:Control'Toolbar'doesnothaveavalid'TargetEditor'.说明:执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息:System.Exception:Control'Toolbar'doesnothaveavalid'TargetEditor'.
解决方案
解决方案二:
该回复于2009-06-18 17:32:05被版主删除
解决方案三:
如果是自己写的用户控件的话,请先引入,如果你引入了就看看引入的对不对。
解决方案四:
该回复于2009-05-12 20:10:17被版主删除
解决方案五:
怎么?没人知道吗,强人帮帮我呀,
解决方案六:
要先发Dll文件添加到项目中去
解决方案七:
没人回答呀,