How can find the control of DataList that caused the onclick has been called?
<p>I have a Datalist with 3 items.</p>

<pre><code> &lt;asp:DataList ID="DLEmail" runat="server" DataSourceID="emailObjectDataSource" Width="100%" CellPadding="4" ForeColor="#333333" onclick="ChangeRadio();"&gt;
  &lt;ItemTemplate&gt;
   &lt;table  width="100%"&gt;
    &lt;tr&gt;
     &lt;td  style="width:10%" &gt;
      &lt;asp:RadioButton ID="RBEmail" runat="server"  /&gt;
     &lt;/td&gt;
     &lt;td  style="width:45%"&gt;
      &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Eval("Name") %&gt;'&gt;&lt;/asp:Label&gt;
     &lt;/td&gt;
     &lt;td  style="width:45%"&gt;
       &lt;asp:Label ID="Label2" runat="server" Text='&lt;%# Eval("Price") %&gt;'&gt;&lt;/asp:Label&gt;
     &lt;/td&gt;
    &lt;/tr&gt;
   &lt;/table&gt;
  &lt;/ItemTemplate&gt;
 &lt;/asp:DataList&gt;
</code></pre>

<p>I want, unselected all radiobutton when checked a radiobutton of datalist.</p>

<p>I find radiobuttons with javascript .</p>

<pre><code> function ChangeRadio()
 {
     var list = document.getElementById('&lt;%= emailObjectDataSource.ClientID  %&gt;'); //Client ID of the radiolist
     var inputs = list.getElementsByTagName("input");
     var selected;
     for (var i = 0; i &lt; inputs.length; i++) {
         if (inputs[i].checked) {
             selected = inputs[i];
             break;
         }
     }
  }
</code></pre>

<p>But, I want :</p>

<p>How can find the control that caused the onclick has been called?</p>
