1

I have a top level menu item with no submenu items that I like to hide in the code behind.

On Page_Load, I have the following but does not seem to hide the menu item

RadMenu1.FindItemByText("UserPage").Remove();
Nate Pet
  • 44,246
  • 124
  • 269
  • 414

1 Answers1

2

I know my post is a little late, but perhaps this can help others.

Dim Raditem As RadMenuItem = RadMenu1.FindItemByText("UserPage")
If Not Raditem Is Nothing Then
    Raditem.Visible = False
End If
AxleWack
  • 1,801
  • 1
  • 19
  • 51