Link to home
Start Free TrialLog in
Avatar of JessyEzzy
JessyEzzy

asked on

Content Pages Inheriting Master Page Title

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.
ASKER CERTIFIED SOLUTION
Avatar of gregg1ep00
gregg1ep00

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of meomar
meomar

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.
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.