Solved

Content Pages Inheriting Master Page Title

Posted on 2006-06-20
3
243 Views
Last Modified: 2008-03-06
Whenever I created a content page based on a master page, it has its title set to "Untitled Page", it does not inherit the title set in the master page.
Is this a normal behavior, or there is a way to let content pages inherit the master's page title?

Thanks.
0
Comment
Question by:JessyEzzy
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
gregg1ep00 earned 20 total points
ID: 16945948
If you remove the Title attribute from the <%@Page %> tag in your content page, then it will inherit the title of the master page.
0
 
LVL 3

Expert Comment

by:meomar
ID: 16946544
I do not think you would need to it to inhrit from the master page if you are to implement multiple pages. Then, they will all have the same name.
0
 
LVL 4

Expert Comment

by:gregg1ep00
ID: 16946603
One thing that I typically do for a site is have the Master page title be something site-wide, like the company name.  And then for each content page, you can do something like this in the PreRender handler:

if ( !IsPostBack )
  Title = Title + " | HOME";

That way, you have the site-wide company name, plus the name of the content page you're currently on.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now