Im using an unorder list <UL> with some css formatting to put them into tabs at the top of my page for navigation. I want to dynamically add another tab to the list when a user is logged in. I thought I could do this simly by adding the runat="server" command to the UL and then IDName.InnerHTML +="<li><a href=MyURL>Tab Text</a></li>" to an if statement for when the user is logged in to the vb code. but when I get to the page and it tries to run the code I get the error.
Cannot get inner content of tabs because the contents are not literal.
tabs being the ID of the UL
I searched around a bit and found some similar questions reguarding divs but nothing that I could get to work. Please help!