Additionally, I found that the Inherits tag in the Page Directive is case sensitive. It must match the case of the name of your class as typed in your codefile/codebehind. At least this is true using ASP.NET / C#. I imagine the qualifiers to your class
name are also case sensitive as they appear in your project. Incorrect case in the Inherits tag will cause the controls in your page to not be recognized by the codefile/codebehind. You get the same error: ... (controlname) does not exist in the current
context
speedcat
Member
2 Points
2 Posts
Re: I may have found a fix
Aug 02, 2011 06:26 PM|LINK
Thanks smc.
Additionally, I found that the Inherits tag in the Page Directive is case sensitive. It must match the case of the name of your class as typed in your codefile/codebehind. At least this is true using ASP.NET / C#. I imagine the qualifiers to your class name are also case sensitive as they appear in your project. Incorrect case in the Inherits tag will cause the controls in your page to not be recognized by the codefile/codebehind. You get the same error: ... (controlname) does not exist in the current context
Cheers!