E
Eric
I got a particular problem in visual studio 2005
There's a user control on page and I want to meka a cast like this
MyPage mp=(MyPage)this.Page;
Error is : cannot cast from ASP.mypage_blalala_aspx to MyPage.
Stupid namespace ASP doesn't have that class name.
I can't even put any base classes to that crazy App_Code folder
to get the class reference. Am I doing something wrong?
All I want to do is during click to access a mainpage method from user control
that is on a gridview. Or how to simply tell a parent page that one of
user controls raised some event. There can be many user controls on the grid.
What's the point of blocking the page classes?
How to get rid of this terrible App_code folder and make things work?
I beg for help. Thanks.
Eric
There's a user control on page and I want to meka a cast like this
MyPage mp=(MyPage)this.Page;
Error is : cannot cast from ASP.mypage_blalala_aspx to MyPage.
Stupid namespace ASP doesn't have that class name.
I can't even put any base classes to that crazy App_Code folder
to get the class reference. Am I doing something wrong?
All I want to do is during click to access a mainpage method from user control
that is on a gridview. Or how to simply tell a parent page that one of
user controls raised some event. There can be many user controls on the grid.
What's the point of blocking the page classes?
How to get rid of this terrible App_code folder and make things work?
I beg for help. Thanks.
Eric