Last post Apr 11, 2008 11:51 PM by zipfeli
Feb 13, 2008 06:51 AM|zipfeli|LINK
I've copied some mobile webforms into my new .net 3.5 project, and can't access the textboxes, labels etc. in codebehind file anymore?
Any idea is appreciated.
visual Studio 2008
Feb 13, 2008 09:59 AM|augustwind|LINK
what errors do you get when you build the project?
Feb 13, 2008 11:04 AM|zipfeli|LINK
Thank you for asking.
The control's not available in intellisign, error: "Error 108 The name 'txtBox' does not exist in the current context C:\X\test\Gym.aspx.cs 20 9 X
", here's my code:
Feb 13, 2008 04:44 PM|podi|LINK
Are you using Web Application Project or Web Site project ? If first one try replacing
CodeBehind="Gym.aspx.cs" and see if works.
Apr 11, 2008 11:51 PM|zipfeli|LINK
The problem was that the designer codefile (e.g. default.designer.cs) sometimes didn't hat the controls updated nor created