Print Page | Close Window

Help Displaying the RTE

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=30395
Printed Date: 28 March 2026 at 10:56am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Help Displaying the RTE
Posted By: vanavah
Subject: Help Displaying the RTE
Date Posted: 03 July 2012 at 4:20pm
I am new to RTE.  I think it is better than all the other editors I scrutinize to date.  However, I cannot get the simplest thing do that is have it display on any webpage.  I created at file named my_web_form.asp and copied to the folder containing rte on my webserver.  But when I call this file with the exact path url in a browser, it only display the code.  Here is the code of the asp file I copied.  What am I doing wrong?  Please help me.

<html>
 <body OnLoad="initialiseWebWizRTE();">
  <form action="example_process_form.asp" method="post" name="myForm" id="myForm">
<%
'Declare the ASP variables used
Dim strFormName
Dim strTextAreaName

'ID tag name of the HTML form the textarea is within
strFormName = "myForm"

'ID tag name of HTML textarea being replaced
strTextAreaName = "myTextarea"
%>
<!--#include file="RTE_editor_inc.asp" -->
    <textarea cols="90" rows="33" name="myTextarea" id="myTextarea">
      Pre-filled textarea contents goes here
    </textarea>
    <input type="submit" name="Submit" id="Submit" value="Submit Form" />
    <input type="reset" name="reset" id="reset" value="Reset Form" />
  </form>
 </body>
</html>



Replies:
Posted By: WebWiz-Bruce
Date Posted: 03 July 2012 at 5:07pm
ASP code needs to be called through a web server that supports ASP so that the web server can process the server side code before sending the HTML and JavaScript to the web browser. 

Opening the file directly in a web browser would not work as the server side code would not be processed.

Have a read through the page below at it explains what ASP is and how it works:-

http://www.webwiz.net/kb/asp-tutorials/what-is-asp.htm" rel="nofollow - http://www.webwiz.net/kb/asp-tutorials/what-is-asp.htm


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vanavah
Date Posted: 03 July 2012 at 5:17pm
Thank you for such a prompt response.  I am a developer using vb.net 2010 pro and will use the asp.net web applications project.  However, the save information must be done to a web server folder in html because users with mobile phones will be looking at the posted webpages.  Will rte allow me to save the information as a html file.


Posted By: WebWiz-Bruce
Date Posted: 03 July 2012 at 5:21pm
The Web Wiz Rich Text Editor is written in Classic ASP, not in ASP.NET.

If you create files in the Rich Text Editor they would be saved as HTML files.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net