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. General Page Architecture

General Page Architecture

Scheduled Pinned Locked Moved ASP.NET
csharphtmlvisual-studiowinformsdesign
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.
  • S Offline
    S Offline
    Stevo Z
    wrote on last edited by
    #1

    Hi everybody, I trying to come up with a web page architecture that would be easiest to use/modify and I can't come up with a satisfying result. This is my idea about how the architecture should work: - there is a parent page with defined layout - header, footer, side menu, content panel (placeholder) - each child page would derive from parent page (having same header, footer, side menu) and defines it's unique content in the content panel - child design derived from parent is available in design time in VS designer I tried to use dynamic approach by having one default.aspx with header, footer, side menu and content panel. In Init phase content (user controls) was loaded. Problem was that I could not handle content events properly, and after some research I've realized that it's not possible in .NET 2.0 , as the event's fired by content user controls are too late to properly add and register different content on same place in one postback. I was also considering creating one parent.aspx control, but if the page design is created in design view (html), it's not passed to any children as it is obviously not a part of parent's code behind. thanx for any advices

    zilo

    D 1 Reply Last reply
    0
    • S Stevo Z

      Hi everybody, I trying to come up with a web page architecture that would be easiest to use/modify and I can't come up with a satisfying result. This is my idea about how the architecture should work: - there is a parent page with defined layout - header, footer, side menu, content panel (placeholder) - each child page would derive from parent page (having same header, footer, side menu) and defines it's unique content in the content panel - child design derived from parent is available in design time in VS designer I tried to use dynamic approach by having one default.aspx with header, footer, side menu and content panel. In Init phase content (user controls) was loaded. Problem was that I could not handle content events properly, and after some research I've realized that it's not possible in .NET 2.0 , as the event's fired by content user controls are too late to properly add and register different content on same place in one postback. I was also considering creating one parent.aspx control, but if the page design is created in design view (html), it's not passed to any children as it is obviously not a part of parent's code behind. thanx for any advices

      zilo

      D Offline
      D Offline
      Declan Bright
      wrote on last edited by
      #2

      Have you tried Master Pages[^]?

      Declan Bright www.declanbright.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