V
Vahid Dadashzadeh
hi,
i've created a new web form or user control in asp.net 2.0, but i try
to see it in my codes and when i try to convert an object to the web
form, i can't see it like there is no webform with that name. for
example this code below :
_Default parentPage = (_Default)this.Page;
in the code above, i assume that i have user control and i want to get
reference to Page object from this usercontrol and my web form class
name is _Default, but compiler can't find class by the name of
_Default.
this problem is in asp.net 2.0.
can someone tell me what to do ?
i've created a new web form or user control in asp.net 2.0, but i try
to see it in my codes and when i try to convert an object to the web
form, i can't see it like there is no webform with that name. for
example this code below :
_Default parentPage = (_Default)this.Page;
in the code above, i assume that i have user control and i want to get
reference to Page object from this usercontrol and my web form class
name is _Default, but compiler can't find class by the name of
_Default.
this problem is in asp.net 2.0.
can someone tell me what to do ?