473,383 Members | 1,855 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How to Display 2 pages in a single page?

NawazAhmed
Hi,
I know this is a very simple question....But I tried every possible way I know to answer this question and failed everytime.
This is the scenario:
I am using Visual Studio 2008 and Sql 2005.
page 1 passes the search criteria for page 2 and page 2 contains a ReportViewer which displays the data from database querying on passed search criteria from page 1.
When I do this by not keeping them on same page like the above example they work fine.
I tried to put them on the same page with and without update panel of Ajax and it did'nt worked then I thought of using Frame Set but it was a surprise to see that it did not recognise frames and frameset even after changing the DTD as mentioned in the previous post on this website.
I can use IFrames but I know I cannot do any changes on parent page if child page is above it.
Is there a simple way to display 2 pages on a single page????
If anyone have the answer please provide a verified example with some explanation....I'll really appriciate that.
Thanks.
Aug 4 '08 #1
3 1337
Curtis Rutland
3,256 Expert 2GB
The only simple ways of displaying two pages on one page are frames and iframes.

I suppose you could do an HttpWebRequest to your second page and add the result to a literal control. I've never tried this, so I don't know if it would work.
Aug 4 '08 #2
As I mentioned the VS 2005 and 2008 says Frameset is not supported...
If possible once u try to add frameset and frames to the page and then u can c the problem....and the problem with IFrames I mentioned in the post.......
I am really sorry for asking more practical answer.
Aug 4 '08 #3
Frinavale
9,735 Expert Mod 8TB
As I mentioned the VS 2005 and 2008 says Frameset is not supported...
If possible once u try to add frameset and frames to the page and then u can c the problem....and the problem with IFrames I mentioned in the post.......
I am really sorry for asking more practical answer.
Have you just considered displaying it in a panel instead of a frame?

I would put the report functionality into a user control, then place this user control into a panel (or <div>) on the page.....

-Frinny
Aug 5 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jody Gelowitz | last post by:
I am having a problem with printing selected pages. Actually, the problem isn't with printing selected pages as it is more to do with having blank pages print for those pages that have not been...
11
by: Tina | last post by:
I'm in a button clicked event on mainpage.aspx. I want to display a new webpage that has just my image, which is a jpg. I want the page to be a ..jpg not an aspx so that it will be easy for the...
1
by: Henrik | last post by:
Hello all. I'm after some sort of pagination function. One that takes some in data that I provide, and returns an array of controls, pointing to page 2, page 3 etc. Trying to mimic the way that...
6
by: Bill | last post by:
Hi I am trying to get my listbox items to print if they stream past the one page mark. my code is working for one page of information (if the e.hasmorepages) is not there. But I am having...
5
by: Peter Lapic | last post by:
I have to create a image web service that when it receives an imageid parameter it will return a gif image from a file that has been stored on the server. The client will be an asp.net web page...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
2
by: Evan M. | last post by:
Hello there, I have an interesting problem to takle. I'm creating a website that's going to be run in a local Intranet. The site uses a MasterPage / content page scheme, with the Master page...
9
by: tomhawkins1 | last post by:
Hi I currently have a site where users can upload files. These files can be doc, wmv, jpeg, xls, dwf, dwf and dwg. These files are uploaded to /home/**user**/uploads and not /home/...
3
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.