Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've got a strange problem while developing a website using Nested Master Pages with ASP.Net under VS 2008.

I designed each Master Page in sequence starting from the lowest level.
In the order I completed them, each Master Page references the page just done.
The design grows from one to three columns.

The main design element is to have the center column be only variable width area.
As the browser window is widened, the left and right columns will not expand.
The easiest solution was to use tables (yes I know, there is a huge body of discussion about whether this is a good idea or not, let's not start that argument here, I am using tables)

Everything was going wonderfully until I tried to create a page based on the most complicated Master Page.

I find that as items are added into the Place Holder (it all depends on how wide the result is), but elements in the heading entirely contained in the first Master Page start moving around!

This problem did not happen at all during hours of assembling each successive Master Page.
Does anyone else ever find this problem?
I've gotten used to the fact that the Designer in Visual Studio often does not reflect at all what will happen when a page eventually gets to a browser.
I've also gotten used to trying each minor change under IE and FireFox and Chrome just to make sure I haven't used a feature that one of them doesn't like.

I have created a condensed project that contains 2 pages, one without any errors in layout, and a second one which is a copy of the first one plus a single addition of more text which causes elements to start moving left and right within the heading area.

I'm hoping someone who has done Nested Master Pages before might be puzzled enough by this situation to take a look at my project.
I'll answer any questions that come up but due to the sheer size of the project due to the nesting, it really only lends itself to being downloaded.

LINK REMOVED ----- do not ever use www.4shared.com ---- I'm trying to find another place to host the source files.
If anyone can suggest a good safe place to provide the code, please let me know.
When zipped up, it's less than 20k.

This is the first time I've used this 4shared site, but I think I've set it up both as a downloadable zip file and with all of the files individually viewable.

I'm sorry that this has gotten so long, but I'm trying to be as complete as possible.
Posted
Updated 19-Jul-11 19:03pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900