Hi there, I have not yet created any ASP.NET pages, let alone codebehind, but I'm wondering if you can't just assign the <TITLE> tag an ID attribute. Would this not expose the tag in your codebehind as a generic HTML object (HTMLGenericControl)?
You could then have something like: given: <TITLE ID="oTitle">This is my page title!</TITLE> you could go (VB.NET): strTitle = oTable.innerText HTH - Mat -----Original Message----- From: Joseph E Shook [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 3:55 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Extracting the Title of a Page from CodeBehind? Does anyone have a clever way of extracting the title of a page in the codebehind? I am talking about the tile that is resident in the following html tags: <HTML> <HEAD> <title>Page Title</title> </HEAD> <body> . </body> </HTML> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.