ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 17th, 2002, 11:51 AM
tomsluder tomsluder is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 3 tomsluder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
WYSIWYG and ASP

I'm trying to incorporate the WYSIWYG editor into an ASP page for posting news. I have no trouble pulling the data from the iframe tag and putting it into the database, the trouble I'm having is pulling data from the database and inserting it into the iframe.

Since the iframe is loaded on the fly, is there any way that you can set a variable with the data from the database and have the iframe pull it in when it's created?

*sigh*

Thomas G Sluder
Conover, NC, USA

Reply With Quote
  #2  
Old September 23rd, 2002, 08:50 AM
pknaz pknaz is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 4 pknaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pknaz Send a message via AIM to pknaz Send a message via Yahoo to pknaz
Tom, I'm wanting to do the same thing!
My roommate suggested that I get the data from the database, place it in a div tag (or something) and then pass that info to the iframe. I was thinking that you could set the iframe to an asp page and have that asp page request the data from the database based on an ID that you pass to it.
What do you think?

-Nate

Reply With Quote
  #3  
Old September 23rd, 2002, 11:47 AM
pknaz pknaz is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 4 pknaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pknaz Send a message via AIM to pknaz Send a message via Yahoo to pknaz
I have this working very nicely. anyone that wants to see how i've done it can IM me. my IM Screen names are in my profile

-Nate

Reply With Quote
  #4  
Old September 23rd, 2002, 07:31 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If you search our forums this topic has been covered a few times

create a new file, that queries the data, and in the ifame tag, src="tempfile.asp" this will display and allow you to edit everything in the file

Reply With Quote
  #5  
Old September 28th, 2002, 02:20 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
Question How to build the tempfile.asp?

Quote:
Originally posted by Ben Rowe
If you search our forums this topic has been covered a few times

create a new file, that queries the data, and in the ifame tag, src="tempfile.asp" this will display and allow you to edit everything in the file


If I write a recordset and request a ID from a link (<%=Request.QueryString("ID")%>) I get a failure, but when I write the recordset to only receive a specific ID (ID=30) for example it works.

How can I write the tempfile.asp to request different ID's from a link? Or do I have to make the link different?

I'm using ASP, not .NET.

I'm a student and doing this to learn so I don't wan't to buy a solution, I wan't to learn it.

Thanx anyone.

Reply With Quote
  #6  
Old September 29th, 2002, 05:17 PM
fakker fakker is offline
The calm b4 the storm
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Manchester, UK
Posts: 404 fakker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via Yahoo to fakker
hi EiSa,

try this link... it should help you with what you're after...!

http://www.devarticles.com/forum/sh...s=&threadid=537

Hope it helps!!
__________________
Matt 'Fakker' Facer

mattfacer.com

Reply With Quote
  #7  
Old September 29th, 2002, 06:58 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
i mean like this


<iframe src="load.asp">

then what ever is in load.asp you will be able to edit it!

very easy

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > WYSIWYG and ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT