日期:2014-05-17  浏览次数:20514 次

编辑器命名空间的问题.
编辑器的文件夹就直接放在下面这个路径里,在解决方案上看不到。
编译的时候提示错误:未能在全局命名空间中找到类型或命名空间名称“FreeTextBoxControls”(是否缺少程序集引用?)

命名空间FreeTextBoxControls怎么回事呢?

是不是编辑器也有命名空间的? 解决方案上面没有编辑器(是直接放到路径"../../aspnet_client/FreeTextBox/"下的)

应该怎么弄?

HTML code

<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
.
.
.
<FTB:FreeTextBox id="article_context" runat="Server" Language="zh-cn"  

SupportFolder="../../aspnet_client/FreeTextBox/" Width="495" height="204" 

HtmlModeDefaultsToMonoSpaceFont="True" DownLevelCols="50" DownLevelRows="10" ButtonDownImage="False" 

GutterBackColor="LightSteelBlue" ToolbarBackgroundImage="True" 

ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,
Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,
JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,
Copy,Paste;Undo,Redo,Print" ToolbarStyleConfiguration="NotSet" />
.
.
.



------解决方案--------------------
FreeTextBox 有一个 dll文件
放在 bin目录下面

然后在 解决方案里面 添加 引用
再编译 就可以了