S
Steve Richter
no sure of the terminology ... would like to test if an EventHandler
has been added to an event:
if (this.Load == null)
{
this.Load += new EventHandler(RowPrompt2_Load);
}
foreach (EventHandler xx in this.Load)
{
}
compile error:
The event 'System.Web.UI.Control.Load' can only appear on the left
hand side of += or -=
how do I test that
this.Load += new EventHandler(RowPrompt2_Load);
has already been run?
thanks,
-Steve
has been added to an event:
if (this.Load == null)
{
this.Load += new EventHandler(RowPrompt2_Load);
}
foreach (EventHandler xx in this.Load)
{
}
compile error:
The event 'System.Web.UI.Control.Load' can only appear on the left
hand side of += or -=
how do I test that
this.Load += new EventHandler(RowPrompt2_Load);
has already been run?
thanks,
-Steve