473,396 Members | 1,998 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,396 software developers and data experts.

Master Page Template

Is there any way to apply a master page to existing pages that weren't
previously using a master page? VB 2005.

Thanks,
Ryan
Jun 20 '06 #1
5 2486
Ryan,

That is in my opinion not with a correct answer to answer question.

Of course it can, but than is it how are those existing pages build.

There in my opinion nowhere so much methods that can make a page as with
webpages. (I am not talking about the raw HTML results but the page the
developer is making)

If you have in past used frames or Iframes than it is in my idea very simple
for those frames.

Cor

"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:e3**************@TK2MSFTNGP02.phx.gbl...
Is there any way to apply a master page to existing pages that weren't
previously using a master page? VB 2005.

Thanks,
Ryan

Jun 20 '06 #2
Sorry Cor I'm having trouble understanding you're answer.

I have numerous pages that I want to have the same surrounding art (a header
banner espescially). It was my understanding that using a MasterPage
template is the way to do this in VB 2005. I already have my pages created
for functionality, now I just want to add some artwork to the top of all of
the pages. Are you saying I should redesign the pages to use frames?

Thanks,
Ryan

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Ryan,

That is in my opinion not with a correct answer to answer question.

Of course it can, but than is it how are those existing pages build.

There in my opinion nowhere so much methods that can make a page as with
webpages. (I am not talking about the raw HTML results but the page the
developer is making)

If you have in past used frames or Iframes than it is in my idea very
simple for those frames.

Cor

"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:e3**************@TK2MSFTNGP02.phx.gbl...
Is there any way to apply a master page to existing pages that weren't
previously using a master page? VB 2005.

Thanks,
Ryan


Jun 20 '06 #3
You can force a master page to apply to an entire site using the web.config
file.

If you didn't create your pages to take advantage of a MasterPage, then you
may have some cleaning up to do. Typically, you have an
<asp:contentplaceholder> tag in your MasterPage and then you have an
<asp:content> tag in each page that is to use the MasterPage. You also need
to inlcude the ContentPlaceHolderID attribute of the <asp:content> tag in the
ASPX page to tell the page which contentplaceholder to use. (From what I can
tell, this is the piece that allows you to nest MasterPages within each
other.)

If your content pages are not configured to use the <asp:content> tags, then
I do not know how your pages are going to be rendered.

That should get you started, though.
"Ryan" wrote:
Sorry Cor I'm having trouble understanding you're answer.

I have numerous pages that I want to have the same surrounding art (a header
banner espescially). It was my understanding that using a MasterPage
template is the way to do this in VB 2005. I already have my pages created
for functionality, now I just want to add some artwork to the top of all of
the pages. Are you saying I should redesign the pages to use frames?

Thanks,
Ryan

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Ryan,

That is in my opinion not with a correct answer to answer question.

Of course it can, but than is it how are those existing pages build.

There in my opinion nowhere so much methods that can make a page as with
webpages. (I am not talking about the raw HTML results but the page the
developer is making)

If you have in past used frames or Iframes than it is in my idea very
simple for those frames.

Cor

"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:e3**************@TK2MSFTNGP02.phx.gbl...
Is there any way to apply a master page to existing pages that weren't
previously using a master page? VB 2005.

Thanks,
Ryan



Jun 20 '06 #4
Ryan,

There are endless tools that create webpages.

To give some of those
Visual Studio Net 2002/2003
Interdev 98
FrontPage version express until 2003
Dreamweaver different versions
Flash different versions
Studio different versions
Php
Coffeecup
Lotus
Ace
Java applets
JavaScript
CSS
Notepad
etc. etc.

From the way you have used these tools it depends how easy it is to use that
integrated into your masterpages from Visual Studio Net 2005.

Cor
"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:%2****************@TK2MSFTNGP03.phx.gbl...
Sorry Cor I'm having trouble understanding you're answer.

I have numerous pages that I want to have the same surrounding art (a
header banner espescially). It was my understanding that using a
MasterPage template is the way to do this in VB 2005. I already have my
pages created for functionality, now I just want to add some artwork to
the top of all of the pages. Are you saying I should redesign the pages
to use frames?

Thanks,
Ryan

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Ryan,

That is in my opinion not with a correct answer to answer question.

Of course it can, but than is it how are those existing pages build.

There in my opinion nowhere so much methods that can make a page as with
webpages. (I am not talking about the raw HTML results but the page the
developer is making)

If you have in past used frames or Iframes than it is in my idea very
simple for those frames.

Cor

"Ryan" <Ty****@newsgroups.nospam> schreef in bericht
news:e3**************@TK2MSFTNGP02.phx.gbl...
Is there any way to apply a master page to existing pages that weren't
previously using a master page? VB 2005.

Thanks,
Ryan



Jun 21 '06 #5
Hi Ryan,

Thank you for your post.

Unfortunately existing pages that weren't previously using a Master Page
must be tailored to be used with MasterPage.

Pages will use the MasterPage is called a Content page. In a content page,
anything that is not inside the Content (<asp:Content>) controls (except
script blocks for server code) results in an error. You can perform any
tasks in a content page that you do in an ASP.NET page. For example, you
can generate content for a Content control using server controls and
database queries or other dynamic mechanisms.

You can find more information about MasterPage here:

#ASP.NET Master Pages Overview
http://msdn2.microsoft.com/en-us/wtxbf3hh.aspx

Please feel free to post here if you need more help on Master Pages.
Regards,
Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 21 '06 #6

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

Similar topics

5
by: Electrified Research | last post by:
>From ASP.NET 1.1 I have a very useful UserControl which acts like a template control. I call it a CustomTemplate. Basically it gives me a re-usable look to sections of the site without having...
0
by: Greg | last post by:
Hi, I'm trying to use the TreeView control in .NET 2.0 along with master pages and have encountered a problem. I have a master page for my site... pretty standard... on that page I have my...
5
by: Kevin | last post by:
We currently have a 1.1 class library which houses the look and feel of our website by creating the html form dynamically in a base class. We then distribute our assembly to other application...
17
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content...
1
by: Jorge Luzarraga | last post by:
Hello, IŽd like to know if some of you guys have ever implemented a form item template that may be one for searching (with some criteria a seek button and a grid for showing results) inside a...
7
by: xkeops | last post by:
Thinking of creating a website, most of the pages will have a general toolbar menu, a content and a footer. The content will be the only one who's gonna change but the rest (header,footer) will...
4
by: Boris Yeltsin | last post by:
OK, on my Master Page I have a control: <a id="hypTabAccount" href="#" runat="server">Account</a> Now, in the code-behind (Root.master.vb) I can refer to it simply thus: ...
4
by: Stacey Levine | last post by:
I am trying to develop an intranet site and thought I would use Master Pages and themes. I found the the MS templates at http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx and was trying to...
3
by: HsiuYing | last post by:
I am new to the ASP.net therefore any help that I can get will be appreciated. Can I create a aspx page under a folder by using MastePage.master as my template? I have created a edit.aspx page...
6
by: Mickey | last post by:
Coming from a Dreamweaver/ASP/PHP background. Planning to use Visual Studio 2008 for a website. Complete newbie question here (please be gentle!): Do master pages work similar to Dreamweaver...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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
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,...

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.