473,382 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

setting title of content pages

How do you set the title of content pages? I can set the title of my
master pages, but I want each of my content pages to have a different
title.

*** Sent via Developersdex http://www.developersdex.com ***
Aug 2 '06 #1
3 1256
<% @ Page Language="VB" MasterPageFile="~/Master.master" Title="Content Page
1" %>

I have not tried this. please see if this helps.

-Augustin

"Mike P" wrote:
How do you set the title of content pages? I can set the title of my
master pages, but I want each of my content pages to have a different
title.

*** Sent via Developersdex http://www.developersdex.com ***
Aug 2 '06 #2
Just to confirm - yes - this does work - also in VS.Net, you have a property
you can set which generates this in the directive.

David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com

"Augustin Prasanna" <Au**************@discussions.microsoft.comwrote in
message news:1C**********************************@microsof t.com...
<% @ Page Language="VB" MasterPageFile="~/Master.master" Title="Content
Page
1" %>

I have not tried this. please see if this helps.

-Augustin

"Mike P" wrote:
How do you set the title of content pages? I can set the title of my
master pages, but I want each of my content pages to have a different
title.

*** Sent via Developersdex http://www.developersdex.com ***

Aug 2 '06 #3
Page.Title = "Whatever" is how it can be done in code.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"David Wier" <da********@noSpamhotmail.comwrote in message
news:e%****************@TK2MSFTNGP03.phx.gbl...
Just to confirm - yes - this does work - also in VS.Net, you have a
property
you can set which generates this in the directive.

David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com

"Augustin Prasanna" <Au**************@discussions.microsoft.comwrote in
message news:1C**********************************@microsof t.com...
><% @ Page Language="VB" MasterPageFile="~/Master.master" Title="Content
Page
>1" %>

I have not tried this. please see if this helps.

-Augustin

"Mike P" wrote:
How do you set the title of content pages? I can set the title of my
master pages, but I want each of my content pages to have a different
title.

*** Sent via Developersdex http://www.developersdex.com ***


Aug 2 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lars G. Svensson | last post by:
Currently, I'm marking up a few pages in German, containing quite some English abbreviations. The abbreviations are marked up as <abbr> with the appropriate title attribute, and -- when appropriate...
50
by: MozillaCensorsMe | last post by:
Hello, While I haven't finished my wonderful tutorial to save the world, I do have a simple question. What's the difference between h1 and the title tag? For me it seems as though both can...
14
by: Del Ferguson | last post by:
Group, New to this list. I just found out that FireFox does not display the img alt attribute the same way IE does. I use both browsers to verify that my pages are readable. Dumb me for not...
12
by: CLEAR-RCIC | last post by:
Hi, I'm having problems setting focus to a textbox on a web user contol on an asp.net web page. The following script works on normal asp.net pages: <script language="javascript"> function...
1
by: Alan Silver | last post by:
Hello, I am just experimenting with master pages, and am trying to add a content placeholder in the <head> section, so that individual pages can set their own page title and meta tags. The...
3
by: DexHex | last post by:
Hi, I am stumpt. Is there anyway to set the background image on a webpart title?
13
by: guitarromantic | last post by:
Hey everyone. I'm editing some stuff I did last summer, trying to bugfix and improve stuff. One improvement (or an oversight of the original design) is adding dynamic <title> tags to my pages....
2
by: dotnetjose | last post by:
Hi Folks, My subject message pretty musch explains it. By Default the Form definition sits at the Master Page file. Is there a way I can access the setting from my Content Page that uses a...
5
by: Aussie Rules | last post by:
Hi, Within the code of a content page, how do you say set the .text value of a label thats on the master page.... Thanks
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.