RichTextEditor Installation Guide

The following guide shows the steps to implement a RichTextEditor Control into ASP applications. If you haven't downloaded the software, please download it from here.

1. Install RTE

The "richtexteditor" folder and all files it contains should be deployed to the application directory of your website.

2. Using the Editor in an ASP page

// Register Editor component to your page   
<!-- #include file="richtexteditor/include_rte.asp" -->   
<html>   
<body>   
        <form id="form1" method="POST">   
            <%   
                // Create Editor instance and use Text property to load content into the RTE.  
                Dim rte
                Set rte=new RichTextEditor   
                rte.Text="Type here"
                // Set a unique ID to Editor   
                rte.ID="Editor1"    
                rte.MvcInit()   
                // Render Editor 
                Response.Write(rte.GetString())  
            %>  
        </form>   
</body>   
</html> 

3. Retrieving the RTE content

You can retrieve the RTE contents using Request.Form method. The name of the variable will be RTE ID. For example if your RTE class ID is "Editor1", the variable would be Request.Form("Editor1").

Download ›