title: html radio button in Gridview. enable/disble on a column's value
body: <p>I have a <code>gridview</code> in which I've used HTML radio buttons for selecting a particular row. Now these radio buttons need to be enabled only if there is a value in the <code>MAP_ID</code> column. </p>
  
  <p>Below is my gridview columns:</p>
  
  <pre><code>&lt;asp:BoundField DataField="MAp_ID" HeaderText="MAP_ID" ItemStyle-Width="10%"&gt; &lt;/asp:BoundField &gt;
  &lt;asp:TemplateField HeaderText="Select" ItemStyle-Width="3%&gt;
    &lt;ItemTemplate&gt;
         &lt;input name="MyRadioButton" class="radioButton" type="radio" 
                id='&lt;%# Eval("Row_Number") %&gt;' value='&lt;%# Eval("Row_Number") %&gt;'  
                disabled ='&lt;%# Convert.ToString(Eval("MAP_ID")) != "" ? "" : "disabled"  %&gt;' /&gt;
     &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>Now the problem is even if there is a value in <code>MAP_ID</code> column, all the radio buttons are disabled.</p>