Solved

Content Pages Inheriting Master Page Title

Posted on 2006-06-20
3
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

695 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