G
Guest
Hi, when I add a new page in my asp.net 2 project and put some controls
there, everything works fine until I move the code behind into App_Code
folder.--When I compile , it tells me that control "not exist in the current
context".
I thought putting code behind in App_Code folder is the recommendation for
asp.net 2. In order to do so, I just simply remove the codefile attribute in
@page.
Maybe my perception of putting all code in App_Code folder is totally wrong
from the beginning.Can you help me on this question?
Thanks a lot.
there, everything works fine until I move the code behind into App_Code
folder.--When I compile , it tells me that control "not exist in the current
context".
I thought putting code behind in App_Code folder is the recommendation for
asp.net 2. In order to do so, I just simply remove the codefile attribute in
@page.
Maybe my perception of putting all code in App_Code folder is totally wrong
from the beginning.Can you help me on this question?
Thanks a lot.