Using Framesets

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2006
Posts: 9
Reputation: mairtin.obrian is an unknown quantity at this point 
Solved Threads: 0
mairtin.obrian mairtin.obrian is offline Offline
Newbie Poster

Using Framesets

 
0
  #1
Mar 7th, 2007
Hello Im using Framesets In one of the frames
  1. <FRAME SRC="GetURL.aspx" NAME="inputFrame">
the frame is used to gets a string of html characters The string is called StrResponse
  1. Response.Write(strResponse)
displays the html in the input frame GetURl.aspx
but I want the string displayed in <FRAME SRC="C:\test2.html" NAME="displayFrame"> any ideas
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 4
Reputation: LordJPhillip is an unknown quantity at this point 
Solved Threads: 0
LordJPhillip LordJPhillip is offline Offline
Newbie Poster

Re: Using Framesets

 
0
  #2
Mar 7th, 2007
Originally Posted by mairtin.obrian View Post
Hello Im using Framesets In one of the frames
  1. <FRAME SRC="GetURL.aspx" NAME="inputFrame">
the frame is used to gets a string of html characters The string is called StrResponse
  1. Response.Write(strResponse)
displays the html in the input frame GetURl.aspx
but I want the string displayed in <FRAME SRC="C:\test2.html" NAME="displayFrame"> any ideas
Which page does the response event get fired in?
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 9
Reputation: mairtin.obrian is an unknown quantity at this point 
Solved Threads: 0
mairtin.obrian mairtin.obrian is offline Offline
Newbie Poster

Re: Using Framesets

 
0
  #3
Mar 8th, 2007
Originally Posted by LordJPhillip View Post
Which page does the response event get fired in?
Its being fired in inputFrame
<FRAME SRC="GetURL.aspx" NAME="inputFrame">

but I want it displayed in displayFrame

<FRAME SRC="C:\test2.html" NAME="displayFrame">
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 4
Reputation: LordJPhillip is an unknown quantity at this point 
Solved Threads: 0
LordJPhillip LordJPhillip is offline Offline
Newbie Poster

Re: Using Framesets

 
0
  #4
Mar 8th, 2007
Well... since the display frame source is a different file... you will not be able to execute the ASPX page's code in it.

Actually... since the display frame is an HTML file, it cannot execute server side code at all, period.

The code too on the ASPX page is a part of the page class(or partial class in .NET 2.0) and is internal to that class.

My guess is that you need to ditch the frames altogether. They are not designed to implement the solution you seek.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC