473,398 Members | 2,343 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,398 software developers and data experts.

MasterPages issue

We have a Master page problem that comes around time and time at work and
it’s a problem that has been confirmed by other developers on the project I
have been on. Additionally I have had the exact problems happen on my
personal project at home. Myself and the team I have been on are pretty
experienced with master pages and themes however now it is time for us to get
a deeper understanding then we have been able to find in books currently on
the market so we can be more prepared the next time we encounter this problem.

OK enough of that now the issue.
If you set up your masterpage with plenty of nice content and then as your
application grows and you have a good amount of content pages then make some
large changes to your masterpage content (ie table structures maybe change
some graphics etc) you not only run the chance of some very bizarre behavior
which seems like caching issues only if you close VS 2005 and even reboot
your machine and delete all temporary internet files it still has these
bizarre problems.
Problems can be things like rendering old content despite the new changes
and sometimes even rendering graphics that no longer exist! Other problems
can include not being able to access your content pages at all until you
remove all content from the masterpage and re-build it and when I say
re-build it I mean you CANT cut content and then paste it back in you have to
literally re-type the content back in (ie tables etc )
Now what we DON’T do is have content in the content placeholder of the
master page and then set the masterpage itself as the starting object of the
project which is an example I have seen. The example I saw basically
structured the main page as the default content of the masterpage and perhaps
that is our problem?
We are currently not having any issues but a few weeks ago I made a change
to my menu layout on my masterpage and ended up spending most of the day
rebuilding the entire masterpage content.
Thanks!

Jul 30 '06 #1
2 1006
Sean,
from what you describe, this "sounds" like assemblies from a previous build
hanging around and being used. Try deleting the contents of the Temporary
ASP.NET files folder and doing a new build. I am not sure if the "Clean"
option on the build menu does this, but you could experiment with that too.
--Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Sean" wrote:
We have a Master page problem that comes around time and time at work and
it’s a problem that has been confirmed by other developers on the project I
have been on. Additionally I have had the exact problems happen on my
personal project at home. Myself and the team I have been on are pretty
experienced with master pages and themes however now it is time for us to get
a deeper understanding then we have been able to find in books currently on
the market so we can be more prepared the next time we encounter this problem.

OK enough of that now the issue.
If you set up your masterpage with plenty of nice content and then as your
application grows and you have a good amount of content pages then make some
large changes to your masterpage content (ie table structures maybe change
some graphics etc) you not only run the chance of some very bizarre behavior
which seems like caching issues only if you close VS 2005 and even reboot
your machine and delete all temporary internet files it still has these
bizarre problems.
Problems can be things like rendering old content despite the new changes
and sometimes even rendering graphics that no longer exist! Other problems
can include not being able to access your content pages at all until you
remove all content from the masterpage and re-build it and when I say
re-build it I mean you CANT cut content and then paste it back in you have to
literally re-type the content back in (ie tables etc )
Now what we DON’T do is have content in the content placeholder of the
master page and then set the masterpage itself as the starting object of the
project which is an example I have seen. The example I saw basically
structured the main page as the default content of the masterpage and perhaps
that is our problem?
We are currently not having any issues but a few weeks ago I made a change
to my menu layout on my masterpage and ended up spending most of the day
rebuilding the entire masterpage content.
Thanks!
Jul 31 '06 #2
Thanks I printed this and am going to file it for future reference because
currently we dont have a problem and not really wanting to try and create a
problem.

Its an issue that we are always aware so we wont forget we put this in file.

"Peter Bromberg [C# MVP]" wrote:
Sean,
from what you describe, this "sounds" like assemblies from a previous build
hanging around and being used. Try deleting the contents of the Temporary
ASP.NET files folder and doing a new build. I am not sure if the "Clean"
option on the build menu does this, but you could experiment with that too.
--Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Sean" wrote:
We have a Master page problem that comes around time and time at work and
it’s a problem that has been confirmed by other developers on the project I
have been on. Additionally I have had the exact problems happen on my
personal project at home. Myself and the team I have been on are pretty
experienced with master pages and themes however now it is time for us to get
a deeper understanding then we have been able to find in books currently on
the market so we can be more prepared the next time we encounter this problem.

OK enough of that now the issue.
If you set up your masterpage with plenty of nice content and then as your
application grows and you have a good amount of content pages then make some
large changes to your masterpage content (ie table structures maybe change
some graphics etc) you not only run the chance of some very bizarre behavior
which seems like caching issues only if you close VS 2005 and even reboot
your machine and delete all temporary internet files it still has these
bizarre problems.
Problems can be things like rendering old content despite the new changes
and sometimes even rendering graphics that no longer exist! Other problems
can include not being able to access your content pages at all until you
remove all content from the masterpage and re-build it and when I say
re-build it I mean you CANT cut content and then paste it back in you have to
literally re-type the content back in (ie tables etc )
Now what we DON’T do is have content in the content placeholder of the
master page and then set the masterpage itself as the starting object of the
project which is an example I have seen. The example I saw basically
structured the main page as the default content of the masterpage and perhaps
that is our problem?
We are currently not having any issues but a few weeks ago I made a change
to my menu layout on my masterpage and ended up spending most of the day
rebuilding the entire masterpage content.
Thanks!
Jul 31 '06 #3

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

Similar topics

1
by: Roger Walter | last post by:
When using the MasterPages form Templating from ASP.NET web Controls, and also using another templating process that uses User Controls, I get a border around the entire page when it is rendered...
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: clintonG | last post by:
Does anybody know how to use a control such as the DropDownList to change Themes when using MasterPages? I'm also asking in the forum. <%= Clinton Gallagher METROmilwaukee (sm) "A Regional...
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...
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...
2
by: iturner100 | last post by:
Hi, I've been struggling with this one for a couple of hours without much joy. Basically, I've got a set of nested masterpages (3 as it happens). I'm dynamically generating a new page in code...
5
by: Nick Wouters | last post by:
Dear All In Classic ASP I used CSS for ALL layout. Now in ASP.NET version 2 I am testing out Masterpages as they come in very handy. It seems like it is replacing CSS for layout but what 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: Mort Strom | last post by:
Right now the header of my master page contains all of the CSS styles for all of the pages that might be loaded in my ContentPlaceHolder. The problem is that my <styletag is getting too large to...
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...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.