I renamed aspx file name but now i can't reach to controls from cs file. I deleted designer.cs file and created by right click on aspx file with Convert To Web Application. But still can't find controls while i press Ctrl+Space (code intellisense).
+3
A:
Check that the CodeBehind
property in the @Page
directive points to the .cs
file, and that the Inherits
property points to the correct class name in the .cs
file.
Guffa
2009-05-16 22:03:19
A:
you need to check codebehind property as well as inherieted property that must be the class that you have defined in .cs file
jalpesh
2009-05-18 17:39:05