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 the 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
Copy Code |
---|
<% @ Language="VBScript" %> <!-- Step 1: Register Uploader to your page --> <!-- #include file="aspuploader/include_aspuploader.asp" --> <html> <body> <div> <% 'Step 2: Create Uploader object Dim uploader Set uploader=new AspUploader 'Step 3: Set a unique name to Uploader uploader.Name="myuploader" uploader.SaveDirectory="savefiles" uploader.AllowedFileExtensions="*.jpg,*.png,*.gif" 'Step 4: Render Uploader uploader.Render() %> </div> </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").
Send feedback about this topic to CuteSoft. ©2003 - 2018 CuteSoft Components Inc. All rights reserved.