473,769 Members | 5,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does anyone have an opinion on the value of Master Pages?

I am attempting to use Master Pages in a new website, and finding it
troublesome. I also do not see a lot of entries in this group
regarding them or their components, such as ContentPlaceHol ders.

So my question is: do I really want to invest the time to learn Master
Page technology, or not? Does anyone have an opinion on this (silly
question?)

Dwight
Dec 3 '07 #1
7 1324
"Dwight Johnson" <dj*********@gm ail.comwrote in message
news:15******** *************** ***********@i12 g2000prf.google groups.com...
So my question is: do I really want to invest the time to learn Master
Page technology, or not? Does anyone have an opinion on this (silly
question?)
I find them incredibly useful and time-saving, both for initial development
and subsequent maintenance...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Dec 3 '07 #2
On Dec 3, 10:24 am, Dwight Johnson wrote:
I am attempting to use Master Pages in a new website, and finding it
troublesome. I also do not see a lot of entries in this group
regarding them or their components, such as ContentPlaceHol ders.

So my question is: do I really want to invest the time to learn Master
Page technology, or not? Does anyone have an opinion on this (silly
question?)

Dwight
When I first started with master pages I didn't understand the concept
but now that I do I find master pages easier to use than normal
pages. Its nice having a main page with all the information in one
location and simply modifying the content in the placeholder to alter
the page. With ASP we have to write an include, frames, or write the
code in every page to get the look to be the same on all the pages.
Dec 3 '07 #3
Tremendous time saver, but you gotta invest the time to understand how they
tick. Once you do - you'll use them every time.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Dwight Johnson" <dj*********@gm ail.comwrote in message
news:15******** *************** ***********@i12 g2000prf.google groups.com...
>I am attempting to use Master Pages in a new website, and finding it
troublesome. I also do not see a lot of entries in this group
regarding them or their components, such as ContentPlaceHol ders.

So my question is: do I really want to invest the time to learn Master
Page technology, or not? Does anyone have an opinion on this (silly
question?)

Dwight

Dec 3 '07 #4
I second John's statement. I couldn't live without them now. A little bit
of time to get used (day or two), but wouldn't go back for anything now.

I found the ASP.net 2.0 Unleashed from Sams chapter on the subject matter to
be the key in my understanding.

They're really nothing more than a user control which MS "built-in" to the
product.

"John Timney (MVP)" <xy******@timne y.eclipse.co.uk wrote in message
news:nd******** *************** *******@eclipse .net.uk...
Tremendous time saver, but you gotta invest the time to understand how
they tick. Once you do - you'll use them every time.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Dwight Johnson" <dj*********@gm ail.comwrote in message
news:15******** *************** ***********@i12 g2000prf.google groups.com...
>>I am attempting to use Master Pages in a new website, and finding it
troublesome. I also do not see a lot of entries in this group
regarding them or their components, such as ContentPlaceHol ders.

So my question is: do I really want to invest the time to learn Master
Page technology, or not? Does anyone have an opinion on this (silly
question?)

Dwight


Dec 3 '07 #5
Thank you Mark, Christian, John, and Brian. Looks like Master Pages
are a good thing.
Dec 4 '07 #6
"Dwight Johnson" <dj*********@gm ail.comwrote in message
news:2a******** *************** ***********@s8g 2000prg.googleg roups.com...
Looks like Master Pages are a good thing.
Indeed.

One word of caution, though... if you're new to MasterPages, make sure you
don't make the "classic" incorrect assumption that they are somehow the
ASP.NET equivalent of framesets - they are nothing like framesets at all,
even though the end result may look similar to framesets...

In fact, a MasterPage is nothing more than a UserControl...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Dec 4 '07 #7
.
The only problem I have with Master Pages is the convoluted way we must
reference controls and other objects using early or late binding
methodologies. The late bound FindControl method is usually very convoluted
to use with Master Pages and writing public properties for every object in
the entire application that must be found to derive the benefits of having
been early bound is tedious and imposes a lot of needless work and
maintenance.

As I understand its all due to the way the control tree hierarchy is built
as the page is compiled. Fine, however Scott Gu allowed his team to slip on
quality here really early in the design of Master Pages (probably ASP.NET
itself) which is no surprise here with deadlines and so on --but-- they put
out a half-assed implementation that is clumsy to use programmaticall y more
often than not.

What's even worse --to me-- is everything in 2.0 has no become bastard
stepchildren once 3.0 and 3.5 have been released and I see no care or
concern for them to clean up the trash and litter their design imposes on
applications.

The release of 3.0 should have had a class unique to this particular
concern. When I am around PHP and Java developers I have to eat crow and
listen to their shit because they know what trash ASP.NET was and remains in
this and related contexts.

For me personally, I understand how things get done --but-- while we all
agree to allow the dog to go shit in the backyard that is not to say a
responsible home owner leaves the dog shit laying around for everybody else
to step in while all that beautiful grass goes unused for fear of stepping
in the dog shit and smelling like ca-ca.

Thanks Mr. Gu

<%= Clinton


"Dwight Johnson" <dj*********@gm ail.comwrote in message
news:15******** *************** ***********@i12 g2000prf.google groups.com...
>I am attempting to use Master Pages in a new website, and finding it
troublesome. I also do not see a lot of entries in this group
regarding them or their components, such as ContentPlaceHol ders.

So my question is: do I really want to invest the time to learn Master
Page technology, or not? Does anyone have an opinion on this (silly
question?)

Dwight
Jan 7 '08 #8

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

Similar topics

4
1602
by: Kim Petersen | last post by:
I've worked on this table object a bit too long - and seem to have stared too long at the code. Can someone see where it goes wrong in the insertrow function? Also optimization hints and alternatives will be greatly appreciated. <code> #!env python # # created: "15:19 20/01-2004" by Kim Petersen <kim@vindinggaard.dk>
1
1627
by: Sasha | last post by:
Hi all asp.net proffesionals out there, How do you implement master pages in your applications? What libraries do you use and what have been your experience? Sasha
4
2670
by: ¿ Mahesh Kumar | last post by:
Hi groups, I'm following Master page concept of ASP.NET 2.0, in which I'm deriving all the following page from master page for Theme. So unfortunately i'm dont get any Form Tag in my derived pages. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CountMaster.aspx.cs" Inherits="CountMaster" Title="CLINICAL CENTER" masterpagefile="~/Default.master" StylesheetTheme="MSN_Blue" %> If this is the case, how can i get popup calendar...
6
5161
by: needin4mation | last post by:
I have a search box on my master page. The results are on a child page. To do this I changed the postbackurl to the childpage and on the childpage I have an asp:controlparameter matching the name of the control on the master page. The first time I press the button on the master page it goes to the child page, but no results are displayed in my gridview. The second time I press my button (which is still the master page button no other...
17
3161
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 pages? Kinda sorta a critical point no? Am I missing something? Rob. P.S. the day I find a book that actually is useful rather than just a
5
1816
by: Aussie Rules | last post by:
Hi, Within the code of a content page, how do you say set the .text value of a label thats on the master page.... Thanks
2
7824
by: Bren | last post by:
Hi All I am just in the process of taking the leap into .net 2 and vs 2005 and a I have come across a bit of a problem. I have created an Intranet app and have the following folder structure:- / /phonebook /SMS
4
1623
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 set everything up. I created a Master page with three containers: header, content, footer. I created another page and put a few things in the content container. I set the theme option in the web.config. It appears to be applying the theme to the...
34
2170
by: raylopez99 | last post by:
What is the state of C#? Somebody in a Linux advocacy newsgroup implied it has saturated (leveled off in growth). Note the 'hard code' pre-Wizards coding wizard Charles Petzold does C# only now. RL http://www.charlespetzold.com/etc/DoesVisualStudioRotTheMind.html Does Visual Studio Rot the Mind? Ruminations on the Psychology and Aesthetics of Coding
0
9589
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9997
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5310
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
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
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.