Element is not a known element warning in Visual Studio when using User controls

后端 未结 7 1742
深忆病人
深忆病人 2021-01-03 21:04

I have a Visual Studio 2008 project that is showing the following warning when using User Controls, and I haven’t been able to find a solution anywhere.

7条回答
  •  孤城傲影
    2021-01-03 21:46

    Check you might be on ContentPlaceHolderID="MainContent" on Asp.net, so place the code on a new placeholder

提交回复
热议问题