Hi,
I have a ul list with a number of list items like:
<ul>
<li runat="server" id="liOne">one</li>
<li runat="server" id="liTwo">two</li>
<li runat="server" id="liThree">three</li>
</ul>
On page load, I need to set these list items visible or not visible.
For some reason I cannot access these in the C# code behind. Nor are the list items being generated for the designer file. Does anyone have any suggestions how to get this to work?
I get this error:
The name 'liOne' does not exist in the current context
Many thanks.