L
Larry Bud
Trying to conditionally remove menu items of the 2.0 .NET menu item
control and I'm stumped.
This removed a root level item:
Menu1.Items.Remove(Menu1.FindItem("Administration"))
But this does not remove it's child item
Menu1.Items.Remove(Menu1.FindItem("Administration/Activities"))
No errors are thrown, and FindItem *IS* finding Administration/
Activities value path. I'm using the default value path separator of
the forward slash, but the menu item still appears.
What am I doing wrong? Thx.
control and I'm stumped.
This removed a root level item:
Menu1.Items.Remove(Menu1.FindItem("Administration"))
But this does not remove it's child item
Menu1.Items.Remove(Menu1.FindItem("Administration/Activities"))
No errors are thrown, and FindItem *IS* finding Administration/
Activities value path. I'm using the default value path separator of
the forward slash, but the menu item still appears.
What am I doing wrong? Thx.