title: how to enable hidden list item programmatically in asp-net mvc 5
body: <p>I want active one of my hidden list item programmatically in ASP.net MVC 5. I hide this item from html code and after satisfying a condition this item will show. How can I enable this item from my code. Here is my html code,</p>
  
  <pre><code>    &lt;li class="dropdown"&gt;
                      &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;File&lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt;
                      &lt;ul class="dropdown-menu"&gt;
                          &lt;li&gt;@Html.ActionLink("New", "Index", "Menu")&lt;/li&gt;
                          &lt;li&gt;@Html.ActionLink("Open", "Open", "Menu")&lt;/li&gt;
                          &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
                          &lt;li class="hide"&gt;@Html.ActionLink("Import Data", "ImportData", "Menu")&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/li&gt;
  </code></pre>
  
  <p>I need to enable the last item "Import Data" of this list programmatically. Is there any option like windows form as ImportData.Visible = true; </p>