Print Page | Close Window

retrieve data from db to 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=18397
Printed Date: 29 March 2026 at 12:36am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: retrieve data from db to rte
Posted By: mythodeia
Subject: retrieve data from db to rte
Date Posted: 15 February 2006 at 12:27pm
i have a default.asp page in wwwroot/dap/default.asp
i changed all the include files for the RTE in default.asp to look at this directory wwwroot/dap/rte/
i have no directory errors ..only that the toolbar is not appearing
the name of the form is frm and the textareas is txtEditor
 
also i have this <body bgcolor="#FFFFFF" text="#000000" STYLE="text-align:center" OnLoad="initialiseWebWizRTE();">
maybe the problem is that the default page is one directory back that the RTE files.is there any way i could leave that page to wwwroot/dap/default.asp this directory and not mix it with the files that are on the wwwroot/dap/rte/ ?
is this causing the problem?
i get a javascript error : object expected....and i think it is the initialiseWebWizRTE(); because it cannot find the function in the directory that the default.asp page is in..
can anyone help?
thank you !
 
EDIT: i put everything in the same directory and it works...
however i want to know how can i retrieve values from the database using sql server 2000 and put the data to the RTE?
currently i have
<textarea name="txtEditor" cols="80" rows="15" id="txtEditor" value="<%=txtEditor%>"></textarea>
but nothing shows in the RTE.if i view the source code i can see that the value has been retrieved.how can i show it?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 16 February 2006 at 10:14am
The simplest way of doing is create your working textarea being populated from your database.

Once you have this running, follow the RTE install instructions, placing the RTE files into the same folder as your working db populated texterea, then apply the RTE to your own already running 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


Posted By: mythodeia
Date Posted: 16 February 2006 at 11:27am
thnx i found the solution
:)
very nice programming
keep it up



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