I have a user control which contains unordered list as shown below
<ul class="dropdown-menu">
<li><a role="button" data-target="#tree" aria-haspopup="true"><span class="glyphicon glyphicon-list">
</span>Viewer</a></li>
<li><a role="button" data-target="#tree2" aria-haspopup="true"><span class="glyphicon glyphicon-list">
</span>Sender</a></li>
I want to acces these list in the aspx
page code behind and my purpose is to disable list item Sender
from unordered lists.How to access and disable it in my code behind?