I have ImageButton with CommandArgument attribute which is having multiple Eval value. When I click one of them I want to pass values to ImageButton2_Click event but it does not
Use OnCommand event of imagebutton. Within it do
Code-behind:
void CommandBtn_Click(Object sender, CommandEventArgs e) { switch(e.CommandName) { case "Something": // Do your code break; default: break; } }