Can anybody please help me to get the cell index of the event fired control in row command of the grid view. I have one radio button control in side my grid view. If the user clicks on the radio button, i need to change the background color of the particular cell. Please help me to resolve this. My code is showing below.
<asp:TemplateField HeaderText="MD-R">
<ItemTemplate>
<asp:ImageButton ID="imgMDR" runat="server" ImageUrl="" ToolTip='<%# Eval("MDR") %>'
CommandName="MDR" CommandArgument='<%# ((GridViewRow) Container).RowIndex %>'
OnClientClick="javascript:return ConfirmReport(this);" />
</ItemTemplate>
</asp:TemplateField>