title: How to add class in c#(server) to ListView li item
body: <p>I'm using Linq in server I fill my list like this </p>
  
  <pre><code>selected MenuId=3;     
  ul_HeaderMenu.DataSource = data.TABLE_MENUS.ToList();
  ul_HeaderMenu.DataBind();
  </code></pre>
  
  <p>this client code</p>
  
  <pre><code>&lt;asp:ListView ID="ul_HeaderMenu" runat="server" ClientIDMode="Static"&gt;
      &lt;ItemTemplate &gt;
          &lt;li class="li-HeaderMenu"  runat="server"  &gt;&lt;%# Eval("Name") %&gt;
               &lt;div class="TopMenuActive"&gt;&lt;/div&gt;
          &lt;/li&gt;
      &lt;ItemTemplate&gt;
  &lt;/asp:ListView&gt;
  </code></pre>
  
  <p>I need to add class to the li the I building in server some think like this</p>
  
  <pre><code>selected MeduId=3;     
  ul_HeaderMenu.DataSource = data.TABLE_MENUS.ToList();
  ul_HeaderMenu.DataBind();
  ul_HeaderMenu.ElementAt[3]AddClass('test');
  </code></pre>
  
  <p>I just find the way to add class to li.</p>