Print Page | Close Window

Bugs - Can be better

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=21188
Printed Date: 29 March 2026 at 12:52pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Bugs - Can be better
Posted By: faca5
Subject: Bugs - Can be better
Date Posted: 01 September 2006 at 1:55pm
Now:

     <form name="myForm" method="post" action="display_form_submission.asp">
     
     
     
<%
'----------------------------------------------------------------------------------------------
'The following onload event needs to be placed into the body tag for the web page you
'are placing the RTE into to initialise the Javascript for the Web Wiz Rich Text Editor (RTE):-
'OnLoad="initialiseWebWizRTE();"

'The following needs to be placed on the line above the textarea that you wish to be
'replaced with the Web Wiz Rich Text Editor (RTE).
'----------------------------------------------------------------------------------------------

Dim strFormName
Dim strTextAreaName
'Edit the intilised variables below to put in the name of your textrea's ID and the name
'of the form the textarea is within
'Name of the HTML form the textarea is within
strFormName = "myForm"
'ID tag name of HTML textarea being replaced
strTextAreaName = "myTextarea"
'----------------------------------------------------------------------------------------------
%>
<!-- include the Web Wiz Rich Text Editor -->
<!--#include file="RTE_editor_inc.asp" -->
        <textarea name="textarea" cols="80" rows="15" id="myTextarea">
 
Can be better:
      
<%
'----------------------------------------------------------------------------------------------
'The following onload event needs to be placed into the body tag for the web page you
'are placing the RTE into to initialise the Javascript for the Web Wiz Rich Text Editor (RTE):-
'OnLoad="initialiseWebWizRTE();"

'The following needs to be placed on the line above the textarea that you wish to be
'replaced with the Web Wiz Rich Text Editor (RTE).
'----------------------------------------------------------------------------------------------

Dim strFormName
Dim strTextAreaName
'Edit the intilised variables below to put in the name of your textrea's ID and the name
'of the form the textarea is within
'Name of the HTML form the textarea is within
strFormName = "myForm"
'ID tag name of HTML textarea being replaced
strTextAreaName = "myTextarea"
'----------------------------------------------------------------------------------------------
%>

     <form name="<%= strFormName %>" method="post" action="display_form_submission.asp">
     
     
<!-- include the Web Wiz Rich Text Editor -->
<!--#include file="RTE_editor_inc.asp" -->
        <textarea name="textarea" cols="80" rows="15" id="<%= strTextAreaName %>">
 
If you now change attribut strFormName and Dim strTextAreaName, you will get error on javascript. You need to use global attribut.


-------------
http://www.studiofaca.com/" rel="nofollow - StudioFACA Portal :: http://www.renes.si/" rel="nofollow - Nepremičnine



Replies:
Posted By: faca5
Date Posted: 01 September 2006 at 2:12pm
I can't open and edit normaly .asp files.
 
Create file test.asp:

<html>
<head>
<title>Web Wiz Rich Text Editor</title>
<body>
Test1
<%= Response.Write("Test2") %>
</body>
</html>

Then click on "Toggle HTML View" and you will get:
Test1 Test2
 
But This is not correct HTML code. Meybe you need to use open file... Because when you open now will run all commands. It is ok when display in advance view - but in toggle html view - it is not better.
 
Meybe you can do something about that because this editor can be better and more power ful.
 
Ok.
 
Second one. When you open file and click to the button "Submit Form" will display like preview. This is all OK. But when you go back (Internet Explorer - Back), it will erase all text. This work if you don't open any file.


-------------
http://www.studiofaca.com/" rel="nofollow - StudioFACA Portal :: http://www.renes.si/" rel="nofollow - Nepremičnine



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