title: Is it possible to hide a particular list item of radiobuttonlist programmatically?
body: <p>I have used gridview in my aspx page.. In that I have a list with six radio buttons in a single cell aligned horizontally.</p>
  
  <p>I need the 1st radio button to be hidden. How to achieve that programmatically?</p>
  
  <pre><code>&lt;asp:GridView ID="CrowdRatingGrid" runat="server" AutoGenerateColumns="false" AllowPaging="true" PageSize="4" OnPageIndexChanging="CrowdRatingGrid_PageIndexChanging" ViewStateMode="Enabled"&gt;
  
  &lt;PagerSettings Mode="Numeric" PageButtonCount="4" /&gt;
  &lt;Columns&gt;
  &lt;asp:TemplateField&gt;
     &lt;HeaderTemplate&gt;
      Rating
      &lt;/HeaderTemplate&gt;
      &lt;ItemTemplate&gt;
       &lt;asp:RadioButtonList runat="server" ID="Rating" SelectedValue='&lt;%# Bind("rating_id") %&gt;'
                              RepeatDirection="Horizontal"&gt;
                              &lt;asp:ListItem Value="0" /&gt;
                              &lt;asp:ListItem Value="1" /&gt;
                              &lt;asp:ListItem Value="2" /&gt;
                              &lt;asp:ListItem Value="3" /&gt;
                              &lt;asp:ListItem Value="4" /&gt;
                              &lt;asp:ListItem Value="5" /&gt;
                          &lt;/asp:RadioButtonList&gt;
                      &lt;/ItemTemplate&gt;
                  &lt;/asp:TemplateField&gt;
           &lt;/Columns&gt;
          &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>I need the List Item with value=0 to be hidden. How would I achieve this?</p>