Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Help Displaying the RTE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedHelp Displaying the RTE

 Post Reply Post Reply
Author
vanavah View Drop Down
Newbie
Newbie


Joined: 03 July 2012
Location: Caribbean
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote vanavah Quote  Post ReplyReply Direct Link To This Post Topic: Help Displaying the RTE
    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>
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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:-

Back to Top
vanavah View Drop Down
Newbie
Newbie


Joined: 03 July 2012
Location: Caribbean
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote vanavah Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.