Hi,
How can i add a click event to my entire table (not row or cell) that will trigger a server side method and not a JS method.
I know i can add attribute which calls JS and then add post back as follows:
table.Attributes.Add("onClick", "return jsFunction(" + 111 + ");");
But, i want to trigger a server side method.
I'm looking for something like we do when adding a clickable event to a control, for example...
lable.Click += new EventHandler(onLabelClick);
And then add
private void onLableClick(object sender, EventArgs e)
{
//...
}
Thanks.