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. Asp.Net 1.1 - Setting page title and using xhtml

Asp.Net 1.1 - Setting page title and using xhtml

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
2 Posts 2 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.
  • T Offline
    T Offline
    totig
    wrote on last edited by
    #1

    Hi I am trying to create a base page that will set the page title for all pages that reference it. I found one way on here, but it involves changing the aspx page itself (removing the sections), which I dont want to do. Also, is there a way in .net 1.1 to ensure all pages are rendered as XHTML? I have been looking and can only find it for .net 2.0. If its not possible to do this, one solution is just remove the entire head section from the HTMLWriter using ToString - though I am sure there must be a better way to do this. Thanks in advance Wayde

    M 1 Reply Last reply
    0
    • T totig

      Hi I am trying to create a base page that will set the page title for all pages that reference it. I found one way on here, but it involves changing the aspx page itself (removing the sections), which I dont want to do. Also, is there a way in .net 1.1 to ensure all pages are rendered as XHTML? I have been looking and can only find it for .net 2.0. If its not possible to do this, one solution is just remove the entire head section from the HTMLWriter using ToString - though I am sure there must be a better way to do this. Thanks in advance Wayde

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      On XHTML - I've seen a couple of different approaches. Take a look at these links for some ideas: http://weblogs.asp.net/ssivakumar/archive/2004/11/05/252735.aspx[^] http://www.howtodothings.com/computers/a821-ensuring-xhtml-compliancy-in-aspnet-11.html[^] http://www.liquid-internet.co.uk/content/dynamic/pages/series1article1.aspx[^] On the BasePage question for setting the page title - here is a link to a post that I think does exactly what you want: http://wessamzeidan.net/cs/blog/archive/2006/01/18/141.aspx[^]

      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