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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Studio
  4. Strange Behaviour in VS 2005 With Master Pages & User Controls

Strange Behaviour in VS 2005 With Master Pages & User Controls

Scheduled Pinned Locked Moved Visual Studio
visual-studiohelpwinformsquestionlearning
1 Posts 1 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.
  • M Offline
    M Offline
    Mike L
    wrote on last edited by
    #1

    Whenever I create a master page (or a user control), the VS environment doesn't create the code-behind links, nor, if I do it manually, which, of course, I shouldn't have to, it doesn't link them, call the .cs, understand the code file is there, or even show it in the window when Intellisense tries to locate it with the codefile directive. Strange. It shows both files when added to the Project Browser view (the "template".master, and the "template".master.cs), but it doesn't put one indented under the other, indicating linkage, like it does with normal web pages (.aspx). I have exactly the same problem with user controls (.ascx) I can't figure out why, and have apparently applied all latest fixes. Can anyone help me diagnose this? I suppose I could back everything up (projects), delete and reinstall, but it seems like it ought to be simpler than that.... Thanks!!

    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