setting title of content pages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike P

    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 ***
  • Augustin Prasanna

    #2
    RE: setting title of content pages

    <% @ 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 ***
    >

    Comment

    • David Wier

      #3
      Re: setting title of content pages

      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



      "Augustin Prasanna" <AugustinPrasan na@discussions. microsoft.comwr ote in
      message news:1CE4EE45-34FC-40F0-B935-2E3F0390BBC1@mi crosoft.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 ***

      Comment

      • clintonG

        #4
        Re: setting title of content pages

        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" <david_wier@noS pamhotmail.comw rote in message
        news:e%23KBMsjt GHA.1224@TK2MSF TNGP03.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


        >
        "Augustin Prasanna" <AugustinPrasan na@discussions. microsoft.comwr ote in
        message news:1CE4EE45-34FC-40F0-B935-2E3F0390BBC1@mi crosoft.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 ***
        >
        >
        >

        Comment

        Working...