Hi,
Is there any way we can handle the ImageButton event in <ItemTemplate> of a Teleric Rad Grid, rather then using the LinkButton.
I am binding OnItemCommand="GeneralRadGrid_ItemCommand" and providing the CommandName="Edit" on <ItemTemplete><asp:ImageButton ImageUrl="../images/bt_edit.gif" ID="EditImageButton" runat="server" CommandName="Edit" /></ItemTemplate>
But I am not able get to the handler
protected void GeneralRadGrid_ItemCommand(object source, GridCommandEventArgs e){
if (e.CommandName == "Edit")
{
Response.Redirect("GeneralClassification.aspx");
}
}
Kindly let me know the way to do so, earlier my teammate posted the same issue but did not got the code to run.
Thanks,
Pramod Singh