Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - EASY RTE from and to MDB
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedEASY RTE from and to MDB

 Post Reply Post Reply Page  <12
Author
pablo_montiel View Drop Down
Newbie
Newbie


Joined: 09 December 2004
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote pablo_montiel Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2005 at 1:56pm
Please, a little help with my last message !!!
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: 11 January 2005 at 4:35pm
That code above is such a mess I can't even workout what you are doing there but it looks way off you are probably best off starting again.

The RTE iframe using the file RTE_textarea.asp needs to display just the text you want in the textarea.

You maybe better of waiting till next week, as I am working on version 3.0 which I hope to complete this week.

Version 3.0 will be much simpler to integrate.

I am writing it so that you would be able to take a normal textarea within a form you already have with what ever content you want in it, then by placing around 3 lines of code in front of the textarea it will be transformed into an RTE textarea keeping whatever content you already have in your textarea.
Back to Top
djlurch View Drop Down
Groupie
Groupie
Avatar

Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote djlurch Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2005 at 10:37am
I just figured out an elegant hack!!!

In the calling page use:
Dim document_text
document_text = "some HTML code"
Session("document_text") = document_text

In RTE_textarea.asp (near the top) use:
strEditorContent = Session("document_text")
Session("document_text") = Null

It has been drilled in to my head that Session variables using classic ASP are evil.  But, using this method the Session variable is created and destroyed in the same page call.  Resetting it to Null should make it scalable (IM0).
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: 17 January 2005 at 10:43am
You are quite right you can use that way, the only problem is that cookies need to be enabled on the users browser in order for session variables to work.

Apart from that I use to use the session variable method myself when I first started building the RTE back in 2001.

Back then no-one else any RTE's available which is why I started building my own based on new RTE features in IE at the time, since then loads of them have popped up across the Internet.
Back to Top
 Post Reply Post Reply Page  <12

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.