When using a button, linkbutton or imagebutton with CommandArguments or CommandName you can use the OnCommand event instead of the OnClick event. Using the OnCommand Event you use less code to extract the CommandArgument and CommandName from the Event comparing to the OnClick event (because you don't need to cast the control). Code example The Aspx:
<asp:ImageButton ImageUrl="~/Includes/Images/delete\_icon.gif" runat="server" ID="ibtDeleteClip" OnCommand="ibtDeleteClip\_Command" CommandArgument='' />
And the codebehind (C#):
protected void ibtDeleteClip\_Command(object sender, CommandEventArgs e) {
string commandArg = e.CommandArgument;
}