Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Title problem

Title problem

Scheduled Pinned Locked Moved ASP.NET
helpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krishnaveer
    wrote on last edited by
    #1

    hi i am using master page on content page i am writing Title of page as fallows Title="::LORDS INTERNATIONAL-VIEW SITEMAP::" %>]]> But after uploading this page title bar display website url/page name what is problem plz help me

    krishna veer singh

    P C 2 Replies Last reply
    0
    • K krishnaveer

      hi i am using master page on content page i am writing Title of page as fallows Title="::LORDS INTERNATIONAL-VIEW SITEMAP::" %>]]> But after uploading this page title bar display website url/page name what is problem plz help me

      krishna veer singh

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      This might help. <![CDATA[<%@ Page Language="VB" MasterPageFile="~/Lords_MasterPage.master" AutoEventWireup="false" CodeFile="Sitemap.aspx.vb" Inherits="Sitemap" Title="::LORDS INTERNATIONAL-VIEW SITEMAP::" %>]]> It's how I'd do it in a C# site - I can't see it being any different in VB.NET (although I stand to be corrected). Basically, remove the CDATA definition.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      1 Reply Last reply
      0
      • K krishnaveer

        hi i am using master page on content page i am writing Title of page as fallows Title="::LORDS INTERNATIONAL-VIEW SITEMAP::" %>]]> But after uploading this page title bar display website url/page name what is problem plz help me

        krishna veer singh

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        I've had this problem too, the title is lost b/c of the master page, I believe. I am going to set it in javascript, I just haven't got around to it.

        Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

        S 1 Reply Last reply
        0
        • C Christian Graus

          I've had this problem too, the title is lost b/c of the master page, I believe. I am going to set it in javascript, I just haven't got around to it.

          Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

          S Offline
          S Offline
          Steven A Lowe
          wrote on last edited by
          #4

          I think Pete's right, just remove the CDATA wrapper, it is not necessary. I have this sort of thing all over my website: <%@ Page Language="C#" MasterPageFile="~/MasterPageSoftware.master" AutoEventWireup="true" CodeFile="calm.aspx.cs" Inherits="calm" Title="nov8r.com - CALM - Peace of Mind for .NET Applications" %> and the titles appear correctly - see http://www.nov8r.com/calm.aspx[^]

          Best regards, Steven A. Lowe CEO, Innovator LLC www.nov8r.com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups