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. How to manage masterpage?

How to manage masterpage?

Scheduled Pinned Locked Moved ASP.NET
questionsysadmintutorial
4 Posts 3 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.
  • N Offline
    N Offline
    Naunt
    wrote on last edited by
    #1

    My masterpage have as below tag

    <body>
    <form runat="server" id="mainForm" method="post">
    <div class="page">
    <div class="header">
    <div class="title">
    <h1>
    This is Header
    </h1>

    I want to change

    This is Header

    to every pages. How can I do from each page?

    Y K 2 Replies Last reply
    0
    • N Naunt

      My masterpage have as below tag

      <body>
      <form runat="server" id="mainForm" method="post">
      <div class="page">
      <div class="header">
      <div class="title">
      <h1>
      This is Header
      </h1>

      I want to change

      This is Header

      to every pages. How can I do from each page?

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      you can easily access master page controls via Master.FindControl Here is an example [^] of how to do it. By the way you don't need to use <hl>, use instead css styling.

      Yusuf May I help you?

      N 1 Reply Last reply
      0
      • N Naunt

        My masterpage have as below tag

        <body>
        <form runat="server" id="mainForm" method="post">
        <div class="page">
        <div class="header">
        <div class="title">
        <h1>
        This is Header
        </h1>

        I want to change

        This is Header

        to every pages. How can I do from each page?

        K Offline
        K Offline
        Kasson
        wrote on last edited by
        #3

        Hope Master Page[^] also will help you.

        With Regards, Kasson

        1 Reply Last reply
        0
        • Y Yusuf

          you can easily access master page controls via Master.FindControl Here is an example [^] of how to do it. By the way you don't need to use <hl>, use instead css styling.

          Yusuf May I help you?

          N Offline
          N Offline
          Naunt
          wrote on last edited by
          #4

          Yusuf, thanks for your advise.

          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