would you please tell me what is wrong with this code?
if (button1.Click = true)
{
this.label1.Text = "custom event";
}
Error is:
the event "...control.click" can only apear on the left hand side of += or -=
I have here a custom event which several buttons can cause.
But in the code I have to know which button caused that custom control.
thank you all

Shivanand ArurPosted Mar 3, 2013, 5:11 AM
protected void button1_click(object sender, Eventargs e)
{
this.label1.Text = "custom event";
}