As far as preventing the comments I don't think you can.My recommendation is to avoid opening the designer file at all.It makes no difference if you're viewing this file.) 2. Kyma (Apologies for the formatting - I assume its because I'm using Safari...In your ASCX file, modify the "Inherits" attribute in the Control directive so that it no longer has the word "Controls" in it. You don't need to save the file; just flip views in the text editor to your designer file. I promise I have been using carriage returns) So, please dis-regard my previous post. User Control - I have sub-classed User Control to added functionality necessary for use among many usercontrols in my project.Michael Taylor - 8/25/07 Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.
Grundt - do you happen to be using a custom type, or is your User Control coming straight from the framework implementation?
For some reason my old designer file got “messed up” and was placed under the file…long story short, it didn´t work and a had to delete it. I started to search for the problem online and got some answers.
Looked like this with missing designer file: When I tried to build the project in VS of course I got build errors like… Apparently you can force VS to generate your designer file by right clicking the aspx/ascx file and choose “Convert To Web Application” And…nothing happened.
I got stuck on a problem (related to the title of this post) today and thought I´d share my experiences (and how I solved it).
I had a class library project that I wanted to change into a web application project and copy some stuff from an old web application project that I had.
After some digging I started to look at the markup which looked like this: See anything strange? I added that back and tried again…and now it worked.