我只是觉得拍砖很好玩而已哈。其实我也是菜鸟哈。才自学一个多月
<appSettings> <add key="FCKeditor:BasePath" value="~/Editor/fckeditor/"/> <add key="FCKeditor:UserFilesPath" value="~/EditorUploadImg/"/> <add key="FCKeditor:FolderPattern" value="%u/%y/%m-%d/"/> <add key="FCKeditor:FilenamePattern" value="%guid.%extl"/> <add key="FCKeditor:MaxWidthOfUploadedImg" value="560"/> </appSettings> <location path="Editor/editor/filemanager/connectors/aspx/upload.aspx">
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>页面内调用
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="400px" Width="100%"> </FCKeditorV2:FCKeditor>或者你前面把.dll加载到工具箱生成控件后,直接把控件拉到web页面上,会自动生成
string content = HttpUtility.HtmlEncode(this.FCKeditor1.Value);