Aspx designer cs not updating itsdatingclub com
The tool-generated hidden block above is also a little "messy" for some people's tastes.
2) The control-declarations are only updated when a developer using VS 2003 activates the WYSIWYG page designer.
-- Hope this helps, Mark Fitzpatrick Former Microsoft Front Page MVP 199? NET : Framework 2.0 - C# A recent addition to my code generater will create Grid View's and Object Data Source's in a control (ASCX). I now wanted to use it for another project (B), but when refreshing the files in the website, only the cs file nests under the file.
So I suspect that the 2 issues are related: the fact that VS doesn't think that the designer file is the same as the cs file (even though they are both partial classes and have the same name) and the fact that it can't compile because of a problem with the type (whatever that means). Does anyone know the criteria that VS uses to nest related files? Web sites in 2.0 don't let you specify a default namespace. However, the namespace for the designer, ascx, and files are all the same. Thanks, Steven Hi Mark, It is definately a web site. This file obviously does not cause any errors during build.
If you are viewing the page after a build and getting this error it is exactly correct.Although I do have the web app template installed, I am not using it. I found this funny because I am not use to build errors occuring on ASPX or ASCX files. Secondly, I stripped back one of MY offending ASCX files so that it only had its directive, and 1 code behind file, which only had the the Load method, exactly the same as the new control.The two controls are IDENTICAL except for their class names. So next I deleted all other files in the project so that there is only 1 offending control, stripped down with nothing in it, and the new control I added that works fine. So now I am thinking it must be some sort of caching issue.The problem does not exist in Visual Studio 2010 RC and Visual Studio 2012 as well.If you for some reason cannot upgrade to Visual Studio 2008 SP1 you might face the following exception after upgrading to Telerik® UI for ASP.