Load multiple HTML doucments in same window.

  • Thread starter Thread starter Ayoa
  • Start date Start date
A

Ayoa

In my web based reporting program, reports are generated by passing
parameters to an aspx page (which runs a database query and does XSL
transformation).



For example:



http://server/Report.aspx?reportid=DD603&format=HTML&Account=abcd&date=31-Aug-2005

http://server/Report.aspx?reportid=BAF03&format=HTML&Account=abcd&date=31-Aug-2005

http://server/Report.aspx?reportid=FC303&format=HTML&Account=abcd&date=31-Aug-2005



Each URL would generate a web page with the report in it.



Now what I will like to do is generate all 3 reports combined together in
the same page (have all the URLs load together in the same browser). I am
not sure how to proceed and will be grateful for any ideas.
 
Now what I will like to do is generate all 3 reports combined
together in the same page (have all the URLs load together in the same
browser). I am not sure how to proceed and will be grateful for any
ideas.

You can use an Iframe, frames, or DHTML to load the pages onto separate
layers.
 
In addition to the above answer you can programatically target the frame(s)
easily , make sure you set the Runat attribute of the frame(s) to Server and
then you can use the following to make the required aspx page loads in said
frame(s).

myIFrame.Attributes("src") = "webform1.aspx"

Mr Newbie.
 
Back
Top