CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/13/2006 3:00:28 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 11 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
12 Items, 1 Pages 1 |< << Go >> >|
TheLe
Asp.Net User
Master Pages - Good and Bad?4/13/2006 3:00:28 PM

0/0

I finally got Master Pages working. It was a touch tricky, but overall was pretty easy.

Are there any downsides to having Master Pages? For example, don't I lose the ability to have <title></title> specific to the content page?

`Le

nberardi
Asp.Net User
Re: Master Pages - Good and Bad?4/13/2006 4:28:47 PM

0/0

No you set the title in the @Page tag of each of your pages that use the master page.  However some of the downsides come when you are generating content on the fly like most of the CMS for .NET do. 

View My Blog

Only $9.95/month, ASP.NET, 2GB & SQL 2005
patber
Asp.Net User
Re: Master Pages - Good and Bad?4/13/2006 6:05:25 PM

0/0

Downsides like what?

The MasterPage-file location can be set "programatically", so I can't see any downsides?

Regards,
/Patrik


'## -- second place is the first looser --
nberardi
Asp.Net User
Re: Master Pages - Good and Bad?4/13/2006 6:34:37 PM

0/0

If you are familure with the DotNetNuke project all the webpages are generated from the database, which would make it very difficult to actually impliment Master Pages.  MasterPages are good for small sites that you need to keep a common look and feel, but once you get past 20 pages you are going to start looking at Content Management Systems.  And the master page concept doesn't work so well in database generated IHttpHandlers.

View My Blog

Only $9.95/month, ASP.NET, 2GB & SQL 2005
patber
Asp.Net User
Re: Master Pages - Good and Bad?4/13/2006 7:27:28 PM

0/0

Doesn't that depend on how the CMS is built from the beginning?

I can agree that using HttpHandlers and HttpModules with Themes, were You can't set the "path to the theme" programatically, but, for MasterPages you can ... so, I can't see the downside of using MasterPages in a CMS. It all starts with the core code ... so if You have MasterPages in mind from the beginning, it will not be a problem, as I see it. You don't need to only use one MasterPage, you can use several different masterpages ...

Regards,
/Patrik


'## -- second place is the first looser --
PaulWilson
Asp.Net User
Re: Master Pages - Good and Bad?4/14/2006 12:23:07 AM

0/0

I agree with Patrik -- my WilsonWebPortal is all dynamically generated from the database, but it also still uses MasterPages, as well as Themes and custom providers.

Thanks, Paul Wilson, ASPInsider, MC**

For the best .NET code, examples, and tools, visit:
WilsonDotNet.com, WilsonWebPortal.com, ORMapper.net
MorningZ
Asp.Net User
Re: Master Pages - Good and Bad?4/14/2006 9:54:59 AM

0/0

TheLe:
Are there any downsides to having Master Pages?

I think one huge trip up on Master Pages is the naming changes that happens to all the controls, that trips a LOT of people up.....    

it would rock if simply saying: Me.FindControl("ControlID")

inside a given ASPX page made it find the controlID defined in that <asp:Content> tag   (but there's problems with that, i know)..

anyways, that is what i see as the biggest "gotcha" for many people getting into using MasterPages...


"If you make it idiot proof, they'll build a better idiot"
patber
Asp.Net User
Re: Master Pages - Good and Bad?4/14/2006 10:57:35 AM

0/0

I still have a topic on how to change the theme-css-file-path in link-tag ... it is always relative to document but I like to have it related to the root-folder.

Topic: http://forums.asp.net/thread/1257055.aspx

Regards,
/Patrik


'## -- second place is the first looser --
TheLe
Asp.Net User
Re: Master Pages - Good and Bad?4/14/2006 2:12:18 PM

0/0

MorningZ:

TheLe:
Are there any downsides to having Master Pages?

I think one huge trip up on Master Pages is the naming changes that happens to all the controls, that trips a LOT of people up.....    

it would rock if simply saying: Me.FindControl("ControlID")

inside a given ASPX page made it find the controlID defined in that <asp:Content> tag   (but there's problems with that, i know)..

anyways, that is what i see as the biggest "gotcha" for many people getting into using MasterPages...



I am not understanding. What gets renamed? The Actual ContentControlID?

~Le

MorningZ
Asp.Net User
Re: Master Pages - Good and Bad?4/14/2006 6:06:38 PM

0/0

http://www.odetocode.com/Articles/450.aspx

Mr Allen does a much better job explaining...  scroll down to about 3/4's down the page to "FindControl, Javascript, and Naming Containers"


"If you make it idiot proof, they'll build a better idiot"
[email protected]
Asp.Net User
Re: Master Pages - Good and Bad?4/14/2006 6:06:56 PM

0/0

nberardi:
If you are familure with the DotNetNuke project all the webpages are generated from the database, which would make it very difficult to actually impliment Master Pages.

Why?  MasterPages work fine for generated content.  DNN actually implements a form of MasterPages itself, though there were no MasterPages around when the design work for DNN was done.

Jeff


Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
nberardi
Asp.Net User
Re: Master Pages - Good and Bad?4/15/2006 5:24:20 PM

0/0

Why?  MasterPages work fine for generated content.  DNN actually implements a form of MasterPages itself, though there were no MasterPages around when the design work for DNN was done.
So how does this disprove my point.  You are only helping to support it.  DNN's own "master pages" are based around their current implimentation, the current "master pages" is built around the web site project type.  It doesn't work well for the web application project that is going to be released with SP1 of VS 2005. 

View My Blog

Only $9.95/month, ASP.NET, 2GB & SQL 2005
12 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Introduction to Digital Publishing Authors: David Bergsland, Pages: 413, Published: 2002
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Time Management from the Inside Out: The Foolproof System for Taking Control of Your Schedule--and Your Life Authors: Julie Morgenstern, Pages: 304, Published: 2004
Selected Poems: Selected Poems Authors: Thomas Hardy, Robert Mezey, Pages: 255, Published: 1998
Life Skills Literacy: Things to Know about Medicine and Health Authors: Richard S. Kimball, Pages: 64, Published: 1999
The Mood Cure: The 4-step Program to Rebalance Your Emotional Chemistry and Rediscover Your Natural Sense of Well-being Authors: M.A. Julia Ross, Pages: 0, Published: 2002
Adobe InDesign CS2 One-on-One: One-on-one Authors: Deke McClelland, Pages: 528, Published: 2006
Jacques the Fatalist and His Master: And His Master Authors: Denis Diderot, Martin Hall, Michael Henry, Pages: 261, Published: 1986

Web:
James' Sandbox: When to use Master Pages, when to use Themes, and ... Sep 11, 2008 ... Master pages are good to have to control the overall look and feel of the end- user .... Google Chrome: Good for WebSites, Bad for SharePoi. ...
How Do I: Use Master Pages and Site Navigation? : The Official ... Good video for Master pages, but leaves me hanging on Navigation. ... Not bad for a caffeine driven demo. I had to chug 2 cappuchino's to stay in ...
QuarkXPress crashes because of linked items on master pages ... Like I said before, the linking across masterpages, which I couldn't find .... Some are very good and some are very bad. Pete, too bad that a poster never ...
-[ Danny Chen ]- : A brief history of MasterPages and templating ... Apr 5, 2006 ... It seems that the reloading problem is far outweighing the good things about masterpages. Friday, April 28, 2006 12:33 PM by Winnie S ...
Über-Master Pages « Publicious While he was a A Big Bad, he wasn’t nearly as Bad as he thought he was. ... Like so many things I’ll probably end up talking about, master pages are great ...
Words of Our Master, Pages 1-44 [Numbers are the pages of the original printed book] ..... When you look outwards, you see the dog, the cat, 'good' and 'bad', 'great' and 'small'. ...
Free download: Sample Master Pages for SharePoint I am really, really bad at creating good Master Pages, so I was happy to find this list (Found here). What are Master Pages? As defined from the Office site ...
Amazon.co.uk: Good Servant Bad Master - Controlling and Managing ... Amazon.co.uk: Good Servant Bad Master - Controlling and Managing Your Anger ... After viewing product detail pages or search results, look here to find an ...
Experiencing dotNet with Sergey Osypchuk: Combining WebParts and ... Combining WebParts and Master pages [Coding] ... [Q&A] · Looking for future: AJAX via Atlas - good or bad [Articles] · Unit testing in dotnet [Articles] ...
SitePoint Blogs » MasterPages hate logic. Throw Interfaces at Them. MasterPages are arguably the most useful new feature in ASP. ... to say using some sort of base page class is a bad idea. In fact, it is a very good idea. ...

Videos:
Bad Credit Vs. Good Credit, How To Get A Loan http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. W...
Got Bad Credit? Want Good Credit? Free Bad Credit Tips! http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
Credit Score Domination http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
Personal or Business Loans / With Bad Credit http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
Bad Credit Same Day Loans: Make Your Day Happy Forever http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
Signature Loans Bad Credit : Make Your Signature Valuable http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
How To Get A bad Credit Loan http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
Best Credit Cards To Get http://www.eCreditCards4u.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. W...
Bad Times Calls for Bad Credit Loans/ Free Report http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...
Bad Credit Auto Loan / + REPO/ True Story http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can trust. ...




Search This Site:










can you automatically assign new users to a role?

is there any kind of form object / form bean available?

moving tabs.

modules question

dnn 3.0.11 register/login issue

webshop

commercial api similar to logonuser() win32 api

aspnet_setreg.exe

experience developers needed! asp.net, vb.net, dotnetnuke experience

user name and no admin page

team foundation server error: tf31002

menu item spacing?

dnn upgrade error????

self hosting question

post-publish events

reloading a vs project

tables on db

setting up .text

how to i change the “create user” button to an imagebutton?

mirror db with .mdf1 extension

assembly signing problem?

ms ie tabstrip control does not render properly

changing page title

3.0.4 issue (enh?) alt tag on search icons

the type or namespace name 'profilecommon' could not be found

how to controle user doubling in login.

installation error - localhost

forms auth and cookies

classifieds starter kit

part 2 - unhandled error loading module.

 
All Times Are GMT