473,467 Members | 1,373 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Loading html file into panel

Hi,

I'm wanting to load a html file into a panel (?) control because I want
to keep my page header on the aspx page.

First, is this the right approach to take? Second, how do I accomplish
this?

Cheers,
Jack

Nov 19 '05 #1
3 3218
Each web page can only have one HTML page, so a Panel is not suitable.

But you can nest an HTML page within another by using IFrames:
http://www.dotnet2themax.com/ShowCon...4-e565c8eab013

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

<ja****@humlog.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,

I'm wanting to load a html file into a panel (?) control because I want
to keep my page header on the aspx page.

First, is this the right approach to take? Second, how do I accomplish
this?

Cheers,
Jack

Nov 19 '05 #2
Steve C. Orr [MVP, MCSD] wrote:
Each web page can only have one HTML page, so a Panel is not suitable.

But you can nest an HTML page within another by using IFrames:
http://www.dotnet2themax.com/ShowCon...4-e565c8eab013


I remember reading you could load an entire website into a String, and
throw it out... I'll have to look it up again, but this might joggle
someone's memory.
Basically it loads the rendered version of the website up, stores the
source in a string, and allows you to throw it out.
Couldn't you use an includes tag inside the pannel?
Nov 19 '05 #3
Loading the rendered text into a literal control or something?

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Doug van Vianen | last post by:
Hi, Some of my applets take some time to load leaving a blank applet panel and the user wondering if anything will be coming up on it. Some applet games, however, have a simple message such as...
0
by: flupke | last post by:
Hi, i need to develop a gui which will load several "windows" depending on what the users selects in the menu and i thought i could accomplish this with panels. What i'm trying to do to test...
4
by: Ester | last post by:
I have an interior design of a living room with lights and aircond image. My task is to load the living room image without any light and aircond images as background image of a WebForm after that I...
2
by: Michel | last post by:
Hi folks, Little questions: I need to load different aspx and ascx files, depending on user settings. The files are all identically (the pages contains the same asp components) , except some...
1
by: Dino Buljubasic | last post by:
Hi, I have created myUserControl that contains a Panel. The panel is loaded dynamically with a number of ListViews. The number depends on the size of the form (therefore the size of the panel...
5
by: marfi95 | last post by:
I have a form that has a left and right panel. In the left panel is a treeview. The right panel I want to change dynamically based on the type of node selected. What I'm doing is loading the...
1
by: foolproofplan | last post by:
I have a situation where I need to convert an xml file into two types of tables in html. I have never done anything like this before, so I have been reading up on it online. However, I am not 100...
0
by: dixonjm | last post by:
Hi, I have a master page & various pages that will use this master page. Each content page will have a CSS & JS file which will be named the same as the content page. When I try to load the CSS...
1
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, misters I have a WinForms that contains a Panel. I want to add controls dynamically to the panel. My code is similar like this:
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.