I'm trying to set the visiblity of a RadMenuItem based on code. I've seen some other posts but they seem rather difficult or sloppy to maintain. My end goal is to run it through a function that will return true or false. I've simplified it for discussion purposes.
This code below should work. But it doesn't. Any ideas?
<telerik:RadMenuItem runat="server" NavigateUrl="~/users/manage_users.aspx" Text="Users" Visible='<%# "false" %>'>
</telerik:RadMenuItem>
I don't get an error but the menu item still shows.
Any ideas?
Thanks,
Rob