title: Get ID of the Control which fires ItemCommand in RadGrid
body: <pre><code>&lt;telerik:RadGrid ID="RGStyleGuideRestrictions" runat="server" DataSourceID="SqlDataSource1"
                  OnItemCommand="RGStyleGuideRestrictions_ItemCommand"
  
      &lt;MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="TerritoryReportGroup"&gt;
  
        &lt;Columns&gt;
          &lt;telerik:GridTemplateColumn UniqueName="TemplateColumn"&gt;
              &lt;ItemTemplate&gt;                
                  &lt;asp:ImageButton ID="imgBtn1" runat = "server"/&gt; 
                  &lt;asp:ImageButton ID="imgBtn2" runat = "server"/&gt;                     
              &lt;/ItemTemplate&gt;
          &lt;/telerik:GridTemplateColumn&gt;
        &lt;/Columns&gt;
      &lt;/MasterTableView&gt;
  &lt;/telerik:RadGrid&gt;
  </code></pre>
  
  <p>In CODE-BEHIND:-</p>
  
  <pre><code>protected void RGStyleGuideRestrictions_ItemCommand(object source, GridCommandEventArgs e)
  {
     ImageButton imgBtn1 = e.item.FindControl("imgBtn1") as ImageButton;
     ImageButton imgBtn2 = e.item.FindControl("imgBtn2") as ImageButton;
  }
  </code></pre>
  
  <p><strong>QUESTION:-</strong> Now, click of any of the ImageButton fires the ItemCommand event. I want to find out or fetch the ID of that ImageButton(1 or 2) in codebehind, which fired the ItemCommand.</p>
  
  <p>Please suggest what to do for that. I am clue less.</p>