Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个顶级菜单项,没有我喜欢隐藏在代码中的子菜单项。
在 Page_Load 上,我有以下内容,但似乎没有隐藏菜单项
RadMenu1.FindItemByText("UserPage").Remove();
我知道我的帖子有点晚了,但也许这可以帮助其他人。
Dim Raditem As RadMenuItem = RadMenu1.FindItemByText("UserPage") If Not Raditem Is Nothing Then Raditem.Visible = False End If