title: Select a row in GridView with RadioButton
body: <p>I have a page that contains a GridView with a LinkButton, in a template column, that selects a row.</p>
  
  <pre><code>&lt;asp:LinkButton runat="server" CommandName="Selecionar" CommandArgumento='&lt;%# Eval("Id") %&gt;'&gt;
  </code></pre>
  
  <p>How can I do this with a RadioButton? I'd like so that when a user selects the radiobutton, my grid would execute the RowCommandEvent. Is there a way to accomplish this?</p>
  
  <p>Thanks</p>
  
  <p>Edits</p>
  
  <pre><code>&lt;asp:TemplateField HeaderStyle-Width="10%" ItemStyle-Height="30px"&gt;
  &lt;ItemTemplate&gt;
  
  &lt;%-- It works with a linkbutton --&gt;
  &lt;asp:LinkButton ID="lnkSelecionar" runat="server" Text="Selecionar" CommandName="Select" CommandArgument='&lt;%# Eval("Id") %&gt;' Visible="true"&gt;&lt;/asp:LinkButton&gt;
  
  &lt;%-- i need a RadioButton =/  --%&gt;
  &lt;asp:RadioButton ID="radioRole" runat="server" CommandName="Select" CommandArgument='&lt;%# Eval("Id") %&gt;' AutoPostBack="true" GroupName="Role" /&gt;
  
  &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>