473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open external web page inside contentplacehol der using master page

Back in the good old days (or bad old days depending on your point of view)
when I used frames to develop some of my web sites, I was able to designate
which frame I wanted a page to open in. Now that I'm learning ASP.NET 2.0,
I'm having some trouble figuring out how to do something similar.

My web site has a master page with one contentplacehol der. Ordinarily, I
would develop another page within the same site using the master page as a
template and the contents of that page would open inside the
contentplacehol der. But what if the new page is actually a page on another
site that I own. How can I cause that page to open inside the
contentplacehol der when it doesn't use the master page? Can this be done?

Thanks!
Oct 14 '06 #1
2 4895
that's not the propose of Master Pages, to acomplish that you need to use
IFrame

--

Bruno Alexandre
København, Danmark

"a Portuguese in Denmark"

Blog. http://balexandre.blogspot.com/
Photos. http://www.flickr.com/photos/balexandre/
"news.sbcglobal .net" <gr************ @MAPSONsbcgloba l.netwrote in message
news:P6******** **********@news svr21.news.prod igy.com...
Back in the good old days (or bad old days depending on your point of
view) when I used frames to develop some of my web sites, I was able to
designate which frame I wanted a page to open in. Now that I'm learning
ASP.NET 2.0, I'm having some trouble figuring out how to do something
similar.

My web site has a master page with one contentplacehol der. Ordinarily, I
would develop another page within the same site using the master page as a
template and the contents of that page would open inside the
contentplacehol der. But what if the new page is actually a page on
another site that I own. How can I cause that page to open inside the
contentplacehol der when it doesn't use the master page? Can this be done?

Thanks!

Oct 14 '06 #2
Thanks Bruno.

"Bruno Alexandre" <br*********@gm ail.comwrote in message
news:ef******** ******@TK2MSFTN GP04.phx.gbl...
that's not the propose of Master Pages, to acomplish that you need to use
IFrame

--

Bruno Alexandre
København, Danmark

"a Portuguese in Denmark"

Blog. http://balexandre.blogspot.com/
Photos. http://www.flickr.com/photos/balexandre/
"news.sbcglobal .net" <gr************ @MAPSONsbcgloba l.netwrote in message
news:P6******** **********@news svr21.news.prod igy.com...
>Back in the good old days (or bad old days depending on your point of
view) when I used frames to develop some of my web sites, I was able to
designate which frame I wanted a page to open in. Now that I'm learning
ASP.NET 2.0, I'm having some trouble figuring out how to do something
similar.

My web site has a master page with one contentplacehol der. Ordinarily, I
would develop another page within the same site using the master page as
a template and the contents of that page would open inside the
contentplaceho lder. But what if the new page is actually a page on
another site that I own. How can I cause that page to open inside the
contentplaceho lder when it doesn't use the master page? Can this be
done?

Thanks!


Oct 14 '06 #3

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

Similar topics

2
3900
by: sck10 | last post by:
Hello, I am looping through each control using the following to find a particular control (strFindCtl = "tbxCompetitor" & strForLoop1 & "Product"). For ctrRow = 1 To 3 strForLoop1 = "0" & ctrRow strFindCtl = "tbxCompetitor" & strForLoop1 & "Product" For Each ctlMaster As Control In Page.Controls ' Page If TypeOf...
3
6400
by: ivanpais | last post by:
Hi, I have a Web User Control, Lets say "Foo.ascx", that contains a button "btnFoo". I have a Master Page "Bar.master", that has a label "lblBar". This label is exposed by a public property BarLabelText. I now have a contentpage "FooBar.aspx", where "Bar.master" is the master page and in the content section has the control "Foo.ascx".
2
6952
by: SR | last post by:
I have started a web site using ASP.NET 2.0. I would like to centralize all of my classes in a StyleSheet but I cannot figure out how to link the StyleSheet to a Content Page since there is no header. I tried to put the link tag in the Master page, but the classes are not recognized in the Content Page. How do I use a StyleSheet with the...
7
6528
by: pushpadant | last post by:
Hi, I have one master page which has some table inside one of the <td> i have my contentplaceholder. on the <head> tag of the master page i have specified link to a global CSS (stylesheet.css) file. On my content page i have a textbox inside the contentplaceholder.
8
6675
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet and also my first true attempt at using master pages. I tried setting up a style sheet with a simple setting to float an image to the right and it...
2
4218
by: Sasquatch | last post by:
I'm having trouble creating a simple login page using the asp:login control. I followed some instructions in a WROX book, "Beginning ASP.NET 2.0," and the instructions are very straight forward, but it won't work for me. Here's what I did. 1. Created a new folder named "testlogin" 2. Turned that folder into an application using the IIS...
3
2436
by: Ronald S. Cook | last post by:
For my web pages that have an associated master page, when I try to work with them in design mode, I get this "gray film" over it and I can edit only the master. How can I get to my page in design mode without having to remove the association with the master page? Thanks, Ron
2
1431
by: Dave | last post by:
It seems that if I put just html inside a master page, everything works fine. But if I put other controls (such as WebControls and/or my own custom controls), I can't seem to access the content area in the designer (on the master page or the content page that uses the master page). The designer is just greyed out completely. It does seem to...
5
2274
by: xlar54 | last post by:
I have a very simple 2.0 website (framework), that uses a master page...not. I added the default.aspx page as a webcontent form, with the master page as it's master page, but the master page is never displayed. Not sure whats wrong. Below is my code. Any help would be appreciated. VS2008. MasterPage1.Master: <%@ Master Language="C#"...
0
7694
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7666
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.