Project with Master Page c#
i want to change the visibility (True / False) of a <li>
in a <div>
programmatically.
master_page
<div id="div_admin">
<ul>
<li style="margin-left:-30px; margin-bottom:5px" id="li_soli">Soli</li>
</ul>
</div>
master_page C#
If(listParametro.Count(); > 0){
<li> need to go Visible False
} else {
<li> need to go Visible true
}
The problem would be how to call the LI object through its ID to change its visibility