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.
Check you might be on ContentPlaceHolderID="MainContent" on Asp.net, so place the code on a new placeholder