473,387 Members | 1,497 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,387 software developers and data experts.

ASP.Net 2.0 Sitemaps and Page Titles

In straight HTML, you can set the page title using the code:

<html><head><title>This is a page title</title></head></html>

How is this done using sitemaps in ASP.NET 2.0.

Thanks,
Mike.

Nov 23 '05 #1
2 1117
ms missed this, but you could easily write a siteheader control that looked
up the value in the sitemap.

-- bruce (sqlwork.com)

"Michael D. Ober" <obermd.@.alum.mit.edu.nospam> wrote in message
news:u8**************@TK2MSFTNGP11.phx.gbl...
In straight HTML, you can set the page title using the code:

<html><head><title>This is a page title</title></head></html>

How is this done using sitemaps in ASP.NET 2.0.

Thanks,
Mike.

Nov 23 '05 #2
Frequently you will want to have a page title some where on your page,
the html title and a navgiation element which displays title
information. If you want them to match then they can all key off the
SiteMap.CurrentNoe.Title Property. In my code (this is without error
hanlding etc) I have a masterpage where I set, Page.Title =
LabelPageTitle.Text = SiteMap.CurrentNode.Title.

Let me know if you nee more clarification.

Jonathan

Bruce Barker wrote:
ms missed this, but you could easily write a siteheader control that looked
up the value in the sitemap.

-- bruce (sqlwork.com)

"Michael D. Ober" <obermd.@.alum.mit.edu.nospam> wrote in message
news:u8**************@TK2MSFTNGP11.phx.gbl...
In straight HTML, you can set the page title using the code:

<html><head><title>This is a page title</title></head></html>

How is this done using sitemaps in ASP.NET 2.0.

Thanks,
Mike.


Nov 23 '05 #3

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

Similar topics

1
by: tesc | last post by:
I'm sure this is pretty simple but I'm having a hard time with it. I have a report that has multiple columns and have to change some of the titles in the page header. As a result, the titles don't...
2
by: Keith Patrick | last post by:
I have a web app that consists of a single page. It works a lot like starter kit examples of menu/content apps, and it has a sitemap associated with it. However, my app doesn't go from page to...
82
by: Eric Lindsay | last post by:
I have been trying to get a better understanding of simple HTML, but I am finding conflicting information is very common. Not only that, even in what seemed elementary and without any possibility...
7
by: JJ | last post by:
I'm playing aournd with my first asp.net 2.0 web site and looking at the Web.sitemap file. It seems there's a lot of publicity at the moment about Google's sitemaps and how they are supposed to...
0
by: DJ | last post by:
I am setting up an interface that mimics normal desktop applications for our web app. I use the SiteMap and CSS to create a Menubar, etc. Below it is the normal icon bar. If I use the sitemap in...
0
by: Cat | last post by:
I know that names and descriptions in sitemap files can be localized using resource files. But I think that's not enough for me. I need to add and remove some menus depending on the language, for...
2
by: paintedjazz | last post by:
I've created a bash script to create a sitemap but it is rather ordinary and nothing about it is appealing. Can anyone provide me with examples of sitemaps that they've seen that they can really...
1
by: dheeraj4uuu | last post by:
Hi, Can anyone tell me how to convert urllist.php to sitemaps.php I have SMF Forum installed with Seo4smf also. As it has already urllist.php and sitemaps.php but unfortunately the sitemaps.php...
7
by: Geoff Cox | last post by:
Hello, I have the code below in which the play1.gif image is visible and when the associated sound has been played the the 2 images same1.gif and different1.gif appear. Once one of these has...
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: 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
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.