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

adding masterpages to upgraded site

Is there a good way to add master page functionality to an upgraded site. 1.1
vs32003 to 2.0 vs2005. So far i get some unusual errors when i try to apply
to existing pages.

and im getting some odd errors
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
Dec 7 '05 #1
4 1155
>Is there a good way to add master page functionality to an upgraded site. 1.1
vs32003 to 2.0 vs2005.
I don't know about a "good" way, but the obvious way is to add a master
page to the project, then convert each page to use content controls.
So far i get some unusual errors when i try to apply
to existing pages.

and im getting some odd errors


Well, something a bit more explicit would be useful. What errors, where
and when?

--
Alan Silver
(anything added below this line is nothing to do with me)
Dec 13 '05 #2
thanks for replying,
i'm not really looking for an answer to the erors i'll get to those.
However, i am looking for a general how-to. do you know of an artical? or a
step-by-step?

thanks
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Alan Silver" wrote:
Is there a good way to add master page functionality to an upgraded site. 1.1
vs32003 to 2.0 vs2005.


I don't know about a "good" way, but the obvious way is to add a master
page to the project, then convert each page to use content controls.
So far i get some unusual errors when i try to apply
to existing pages.

and im getting some odd errors


Well, something a bit more explicit would be useful. What errors, where
and when?

--
Alan Silver
(anything added below this line is nothing to do with me)

Dec 14 '05 #3
>thanks for replying,
i'm not really looking for an answer to the erors i'll get to those.
However, i am looking for a general how-to. do you know of an artical? or a
step-by-step?


Well, it's so simple that you don't really need an article. Once you
have your master page, you know the contentplaceholder ID(s). You open
up each individual page and delete all the stuff that is now in the
master page (probably the header and footer stuff), then just place
<asp:Content> tags around what's left. Make sure that the
contentplaceholderID of each content tag matches one in the master file.

It's even easier in practice than it sounds ;-)

--
Alan Silver
(anything added below this line is nothing to do with me)
Dec 14 '05 #4
i'll try it again, thanks
kes
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Alan Silver" wrote:
thanks for replying,
i'm not really looking for an answer to the erors i'll get to those.
However, i am looking for a general how-to. do you know of an artical? or a
step-by-step?


Well, it's so simple that you don't really need an article. Once you
have your master page, you know the contentplaceholder ID(s). You open
up each individual page and delete all the stuff that is now in the
master page (probably the header and footer stuff), then just place
<asp:Content> tags around what's left. Make sure that the
contentplaceholderID of each content tag matches one in the master file.

It's even easier in practice than it sounds ;-)

--
Alan Silver
(anything added below this line is nothing to do with me)

Dec 14 '05 #5

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

Similar topics

1
by: nLella | last post by:
I am trying to build a new web application and trying to implement either templates or master pages in it. I tried to read several articles but could not actually deside on weather to go with the...
2
by: neverstill | last post by:
So a new project has inspired me to look into page Templating once again. My current approach of dynamically loading user controls (http://www.ntsdirect.com) seems "hacky" for a larger scale site,...
6
by: Kenneth Keeley | last post by:
Hi, I have a Masterpage that controls the basic layout of the pages displayed on a web site. The masterpage also uses some variables. I would like to be able to access some of these variables from...
4
by: Jeff Lynch | last post by:
I need to call a class on every web page in a site. In ASP.NET 1.1 I would call this class before the Page_Load event in each web page's code-behind file since it needs to run before the web page...
0
by: rob | last post by:
I have a hosting account where my main path is c:\host\members\myname. On this account I have multiple independent sites. One site is in c:\host\members\myname\site1, another in...
3
by: Lars W. Andersen | last post by:
Hi, I am looking for a good - easy to comprehend little CMS application for my "beginners" asp.net 2.0 site. It must be able to use Access as the database (only a couple of people will be...
3
by: j-in-uk | last post by:
I have 3 pages Site.master, Album.aspx and ContinentsMenu.ascx. Continents is a usercontrol placed in Albums. In Album.aspx.cs I need to access a property from the Continents usercontrol and is...
6
by: =?Utf-8?B?U3RlcGhlbiBIYXRmaWVsZA==?= | last post by:
I have two masterpages in a web application. One is used for the login and logout pages. The other is used for all other pages in the application. The difference between the two masterpages is...
8
by: Randy Smith | last post by:
Hi, I now need to add MasterPages to a number of existing forms, but when I add the code for MasterPage, the MasterPage does NOT appear when it runs. Any thoughts? TIA, Randy Smith
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:
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.