T
Tim
I created a base web form class that has common functionality that I can use
across the rest of the site. I am trying to inherit from the base web form
class but the controls (i.e. textbox, buttons...) are not displaying on the
child web page (class). Is there a trick to inheriting from a web page? Is
it even possible?
This is a snippet from the base class...
public class Search : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.TextBox TextBox1;
private void Page_Load(object sender, System.EventArgs e){}
....
This is a snippet from a child...
public class InternalSearch : Search
{
private void Page_Load(object sender, System.EventArgs e){}
.....
Thanks for your help!
across the rest of the site. I am trying to inherit from the base web form
class but the controls (i.e. textbox, buttons...) are not displaying on the
child web page (class). Is there a trick to inheriting from a web page? Is
it even possible?
This is a snippet from the base class...
public class Search : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.TextBox TextBox1;
private void Page_Load(object sender, System.EventArgs e){}
....
This is a snippet from a child...
public class InternalSearch : Search
{
private void Page_Load(object sender, System.EventArgs e){}
.....
Thanks for your help!