The following guide shows the steps to implement a RichTextEditor Control into ASP.NET
applications. If you haven't downloaded the software, please download it from here.
1. Install the assembly
Copy the following files to your application bin folder.
- richtexteditor.dll
- NetSpell.SpellChecker.dll
- richtexteditor.lic
The "richtexteditor" folder and all files it contains should be deployed to the
application directory of your website.
2. Add Uploader httpModule to web.config's httpModules list
To allow RichTextEditor to upload big files, you need to add Uploader HttpModule
to your application.
IIS Integrated mode
<configuration>
<system.webServer>
<modules>
<add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/>
</modules>
</system.webServer>
</configuration>
IIS Classic mode
<configuration>
<system.web>
<httpModules>
<add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/>
</httpModules>
</system.web>
</configuration>
3. Using the Editor in a Web Form
a. Register RichTextEditor control in your page
<%@ Register TagPrefix="RTE" Namespace="RTE" Assembly="RichTextEditor" %>
b. Insert a RTE instance into the page and use Editor.Text property to load content into the RTE.
<RTE:Editor id="Editor1" Text="Type here" runat="server" />