title: How to find id in silverlight data grid
body: <p>I need get the id of an images which is place inside a datatemplate.. the code is given below.</p>
  
  <pre><code>&lt;sdk:DataGrid.Columns&gt;
   &lt;sdk:DataGridTemplateColumn x:Name="colDeleteContent" IsReadOnly="True" Header="Delete Content" Width="100" CanUserResize="False"&gt;
     &lt;sdk:DataGridTemplateColumn.CellTemplate&gt;
        &lt;DataTemplate&gt;
           &lt;StackPanel x:Name="spDeleteContent" VerticalAlignment="Center" Margin="10,0,0,0" Width="20" Height="20" HorizontalAlignment="Center" Orientation="Vertical"&gt;
               &lt;Image x:Name="imgDeleteContent" Source="Assets/Images/close.png" Height="15" Tag="Assets/Images/close.png" Width="15" Margin="0" Cursor="Hand" Opacity="0" /&gt;
           &lt;/StackPanel&gt;
         &lt;/DataTemplate&gt;
       &lt;/sdk:DataGridTemplateColumn.CellTemplate&gt;
     &lt;/sdk:DataGridTemplateColumn&gt;
  &lt;/sdk:DataGrid.Columns&gt;
  </code></pre>
  
  <p>I need to get the id of the "imgDeleteContent" which i have placed inside that datatemplate stackpanel in my code behind.</p>
  
  <p>Pls help, Thanks</p>