public class PageBase : System.Web.UI.Page
{
public void ValidateRight(){
ExtAspNet.Button button = new ExtAspNet.Button();
button.ID = ModuleBtn.BTN_CODE;
button.Text = ModuleBtn.BTN_NAME;
button.Icon = Icon.Add;
button.Click += new EventHandler(ExtBtn_Click); Toolbar.Items.Add(button);
}
}
public class PageBase : System.Web.UI.Page
{
public void ValidateRight()
{
ExtAspNet.Button button = new ExtAspNet.Button();
button.ID = ModuleBtn.BTN_CODE;
button.Text = ModuleBtn.BTN_NAME;
button.Icon = Icon.Add;
button.Click += new EventHandler(ExtBtn_Click); Toolbar.Items.Add(button);
}
protected void ExtBtn_Click(object sender, EventArgs e)
{
}
}
public partial class AreaList : PageBase
{
}
想请问,如何在AreaList子类中实现 父类的ExtBtn_Click方法,而且,点击按钮让它触发子类的方法。