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. masterpage error :confused:

masterpage error :confused:

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
3 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.
  • F Offline
    F Offline
    FEMDEV
    wrote on last edited by
    #1

    I created a asp.net website . I then added a masterpage to it and then a webform to which I added the masterpage file. It Builds Fine but has following runtime error: "Content controls have to be top-level controls in a content page or a nested master page that references a master page." I didn't add anything to the masterpage or content page !!

    N F 2 Replies Last reply
    0
    • F FEMDEV

      I created a asp.net website . I then added a masterpage to it and then a webform to which I added the masterpage file. It Builds Fine but has following runtime error: "Content controls have to be top-level controls in a content page or a nested master page that references a master page." I didn't add anything to the masterpage or content page !!

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Based on your last couple of posts you need to stop what you are doing and read more about masterpages and how to use them


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • F FEMDEV

        I created a asp.net website . I then added a masterpage to it and then a webform to which I added the masterpage file. It Builds Fine but has following runtime error: "Content controls have to be top-level controls in a content page or a nested master page that references a master page." I didn't add anything to the masterpage or content page !!

        F Offline
        F Offline
        FEMDEV
        wrote on last edited by
        #3

        got it working huff..!!!

        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