Lists in .net - As in <ul><li></li></ul> type of lists...

Like a good AKA accessible app building developer, my application's
navbar is controlled with CSS and using <ul> and <li>
I just have the code in the HTML display and it works fine when everything should be visible, however, I need to restrict some users from viewing certain navbar links based on their security levels.  How do I hide the list items that need to be hidden?

TIA


0
LostInSpace
10/6/2005 6:05:12 PM
📁 asp.net.client-side
📃 24353 articles.
⭐ 1 followers.

💬 2 Replies
👁️‍🗨️ 916 Views

hello!

give them ids and runat="server" attribute. then in code behind set the Visible property to false.

orzeh


code less, think more!
0
orzeh
10/6/2005 7:14:46 PM
Okay, I tried putting the link as a link button and that works with in
the list... it still 'saves' a space for the link that would be there
but that is alright.  Not great, but alright.  
So I am thinking you meant to put the links as link buttons or asp.net hyperlinks not just coding them in the html page?

I am wondering if my problem with visual studio removing my </li> belongs in a different forum... suggestions anyone?
Thanks!

0
LostInSpace
10/10/2005 7:24:32 PM
Reply: