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 a.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 Name to Editor   
                rte.Name="Editor1"    
                rte.MvcInit()  
                // Render Editor 
                Response.Write(rte.GetString())  
            %>   
        </form>   
</body>   
</html> 

3. Retrieving the RTE content

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