CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/27/2007 1:34:03 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 34 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
bendJoe
Asp.Net User
Page Title9/27/2007 1:34:03 PM

0

Hi am using a master page . I was just wondering how to give page titles if all pages are inheriting for the same master page. If I give a title in the Master Page will that cause every page to display the same tilte. How can I give different names to  my pages?

Thanks

ps2goat
Asp.Net User
Re: Page Title9/27/2007 2:40:31 PM

0

If you assign a title to your master page, all pages using it will have that title by default.  If you want to give pages a different title, you can set that in each page using Page.Title-- after the Init() stage should be fine (i.e. during Load()).


---------------------------------------
MCP - Web Based Client Development .NET 2.0
Suprotim Agarwa
Asp.Net User
Re: Page Title9/27/2007 3:04:21 PM

0

Hi,

If you do not want to do this programatically, you can add the Title attribute to each Page directive in the content page as shown below :

<%@ Page Language="C#" MasterPageFile="~/myMaster.master" AutoEventWireup="false" CodeFile="Default.aspx.cs" Inherits="_Default" title="MyContentPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

</asp:Content>

 

HTH,
Suprotim Agarwal

-----
http://www.dotnetcurry.com
----- 

 


Don't forget to click "Mark as Answer" on the post that helped you. This will help readers to know which post solved your issue and make their search easy
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Schaum's quick guide to writing great research papers Authors: Laurie Rozakis, Pages: 193, Published: 2007
Administrative assistant's & secretary's handbook Authors: James Stroman, Kevin Wilson, Jennifer Wauson, Pages: 556, Published: 2003
The copyeditor's handbook: a guide for book publishing and corporate communications, with exercises and answer keys Authors: Amy Einsohn, Pages: 560, Published: 2005
Macbeth: melodramma in four acts Authors: Giuseppe Verdi, Francesco Maria Piave, David Lawton, Andrea Maffei, William Shakespeare, Pages: 612, Published: 2006
The extreme searcher's Internet handbook: a guide for the serious searcher Authors: Randolph Hock, Greg R. Notess, Pages: 326, Published: 2007

Web:
Page Title | drupal.org The word "title" is a bit overloaded. Every piece of content in Drupal has a title, and so does every page. The page title is the one found in the HTML head ...
TITLE Element: Page Titles Every HTML document must have a TITLE in the head section. Some refer to the TITLE element as a META tag (title tag) which is incorrect nomenclature and ...
HTML Title Tags for Search Engine Optimization & Web Usability ... Mar 29, 2004 ... We received numerous questions about Web page title tags during our ... In HTML code, the title tag specifies the title of your Web page. ...
ASP.NET.4GuysFromRolla.com: Dynamically Setting the Page's Title ... May 10, 2006 ... This article, by Scott Mitchell, examines how to programmatically set the title of an ASP.NET 2.0 web page; this article also looks at how ...
Writing a Research Paper - The OWL at Purdue Apr 14, 2009 ... This page is brought to you by the OWL at Purdue ... When printing this page, you must include the entire legal notice at bottom. ...

Dynamic Title for Page from Database - ng.asp-net-forum ... Dynamic Title for Page from Database, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls, ...
Using Page Title as Page Name in URL path? - ng.asp-net-forum ... Using Page Title as Page Name in URL path?, > ROOT > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke, Date: 10/27/2005 9:27:02 PM, ...
How can I set the Page Title of all pages in Web.Config ? - ng.asp ... How can I set the Page Title of all pages in Web.Config ?, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.getting_started, Date: 10/3/2007 3:03:57 PM, ...
Dynamically changing page title - ng.asp-net-forum.web_forms Dynamically changing page title, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.web_forms, Date: 11/12/2004 3:57:46 PM, Replies: 2, Views: 1, ...
Changing page Title - ng.asp-net-forum.web_forms Changing page Title, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net. web_forms, Date: 6/16/2008 9:57:57 AM, Replies: 4, Views: 3, Subscribers: 0, ...

Videos:
Byrds - "Mr. Tambourine Man" Featuring Bob Dylan The Byrds perform "Mr. Tambourine Man" with the man who wrote it!
Italians adventure Russia, Part 1 Personnel from the movie "Neobyknovennye adventures of Italians in Russia"
Build a Niche Store Empire Series - Set your Main Page Title In this segment of the Niche Store Builder series, we set the main page category and meta tag information
LEONIDAS MEDLEY FROM MEGA TV SHOW LEONIDAS IS THE WINNER OF FAME STORY 4 IN GREECE. THIS IS A MEDLEY FROM MEGA TV SHOW(GREECE) ''BEAUTIFUL WORLD''
Seo Video Tutorial - Web Page Title Tags Discover what web page title tags are, why they are still important and how to create great ones. Gareth Davies of GSINC Ltd takes a detailed look ...












navigation caching

startingnodeurl not working when using function result

can i use a master page in a html file?

master pages, controls and forms.

master page and form action

why does my menu only work when i click specifically on the text

dynamically populate treeview from sql database

call javascript function from contentpage

split asp.net menu in a few rows

anoying border

multi language support request["lanaguage"] is not working. please help.

why my theme is not applied in the editor?

problem with asp.net menu control - leaving a top margin of about 1 or 2px in ie

defining theme/skin file for nested - css class and relative elements.

how do you tranfer vb pages into masterpage theme

how to set the space between differnet line to 0 for treeview?

skin ajax extender

help : user master page with asp:formparameter , save only blank data to database msaccess

can't access master page properties from content pages

treeview control with dhtml and javascript

asp.net 2.0: master pages and web user controls: reference to a non-shared member requires an object reference

clickable area in menu too small

how to create dynamic menus in asp.net

how to create templates

menu, treeview does not populate from dynamically generated xml files

changing hyperlinks color

css adapters horizontal menu images

menu control and image control

strange problem with menu control, it breaks up in certain pages

programmatic themes

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT