部署步骤(基本不变,.NET1.1和2.0版本部署基本一致): 1. 安装CuteEditor assembly 文件和license文件(共4个) 拷贝以下文件到您网站的bin文件夹下 CuteEditor.dll CuteEditor.ImageEditor.dll NetSpell.SpellChecker.dll CuteEditor.lic (license文件) 2.拷贝CuteEditor 客户端文件 拷贝“CuteSoft_Client”文件夹到您的网站目录下(根目录),大约有4.57MB(.NET 2.0版本)。 3.复制样式css文件到您网站的根目录 example.css 4.增加httpModule 到您的web.config中 (1)IIS 5.0, 6.0 和 IIS 7.0 标准模式(Classic mode) <configuration> <system.web> <httpModules> <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/> </httpModules> </system.web> </configuration> (2)IIS 7.0集成模式(Integrated mode) <configuration> <system.webServer> <modules> <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/> </modules> </system.webServer> </configuration> 5.注册CuteEditor到您的页面。 如下: <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %> <CE:Editor ID="Editor1" runat="server" FilesPath="/cutesoft_client" EditorWysiwygModeCss="~/example.css" Height="486" Width="99.5%" EnableViewState="False" EditCompleteDocument="True" AutoConfigure="Full" AllowEditServerSideCode="True" CssClass="TextBoxCss" CultureType="Server" CustomCulture="zh-CN"> </CE:Editor> |
|