Master Page Weirdness - “Content controls have to be top-level controls in a content page or a nested master page that references a master page.”

后端 未结 13 2005
借酒劲吻你
借酒劲吻你 2020-12-05 06:28

This is weird. I added a brand new Web Application project to my solution in Visual Studio 2008.

Created a master page. Made zero modifications. Created a new we

13条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-05 06:45

    In my case I was loading a user control dynamically in a page and both the page and user control had the content tags

    
    

    Removing this tag from the user control worked for me.

提交回复
热议问题