T
TJO
I am having difficulty understanding why I cannot access my base .ascx
class members from my inherited class.
I create a base .ascx control and add a method.
public partial class myWebControlBase : System.Web.UI.UserControl
{
public virtual void _foo(){
}
}
I then create another ascx control by extending the base class:
public partial class ResumeCapture_ResumeCaptureBase : myWebControlBase
{
}
the compiler is telling me _foo() does not exists when I access it from
the HTML portion of my control. Nor does itellisense show the method.
Is inheritance of webcontrols handled differently in 2.0 than 1.0 or
1.1?
class members from my inherited class.
I create a base .ascx control and add a method.
public partial class myWebControlBase : System.Web.UI.UserControl
{
public virtual void _foo(){
}
}
I then create another ascx control by extending the base class:
public partial class ResumeCapture_ResumeCaptureBase : myWebControlBase
{
}
the compiler is telling me _foo() does not exists when I access it from
the HTML portion of my control. Nor does itellisense show the method.
Is inheritance of webcontrols handled differently in 2.0 than 1.0 or
1.1?