I am developing a asp.net application using C#. I created an .aspx page and placed four buttons on different locations on the page. On server side, I want to use just one cl
@Tejs is correct in his comment, looks like you want something like this:
protected void allbuttons_Click(object sender, EventArgs e) { var argument = ((Button)sender).CommandArgument; }