I tried changing to public (below), still did not work, is it the call in InitializeComponent() that's the problem ?
public void cmdClearCheckBoxes_Click(object sender, System.EventArgs e)
{
}
private void InitializeComponent()
{
this.GetSelections.Click += new System.EventHandler(this.GetSelections_Click);
this.DemoGrid.SelectedIndexChanged += new System.EventHandler(this.DemoGrid_SelectedIndexCha nged);
this.cmdClearCheckBoxes.Click += new System.EventHandler(this.cmdClearCheckBoxes_Click) ;
this.Load += new System.EventHandler(this.Page_Load);
}
|