Hi
I'm using .net 2.0 and vb.net , web forms
On my master page there is a radmenu. This menu has 4 buttons that if you hover over any of them then , then a drop down will appear. and each drop down has 1 to 5 buttons. example below
......home...... menu1........menu 2.......menu3.....menu4
a t s v
b w
c q
d
e
my question is:
from the code behind on my .aspx page, how do I disable "menu1" and all its buttons.
I still want to see it but just it must not link.
right now I have this
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Me.FindControl("Mymenu").Visible = True
'how do I disable "menu1" and all its buttons.
Dim m As Telerik.Web.UI.RadMenu = CType(MyBase.Master.FindControl("Mymenu"), Telerik.Web.UI.RadMenu)
m.item find("menu1").Disable()
End Sub
End Class
I'm using .net 2.0 and vb.net , web forms
On my master page there is a radmenu. This menu has 4 buttons that if you hover over any of them then , then a drop down will appear. and each drop down has 1 to 5 buttons. example below
......home...... menu1........menu 2.......menu3.....menu4
a t s v
b w
c q
d
e
my question is:
from the code behind on my .aspx page, how do I disable "menu1" and all its buttons.
I still want to see it but just it must not link.
right now I have this
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Me.FindControl("Mymenu").Visible = True
'how do I disable "menu1" and all its buttons.
Dim m As Telerik.Web.UI.RadMenu = CType(MyBase.Master.FindControl("Mymenu"), Telerik.Web.UI.RadMenu)
m.item find("menu1").Disable()
End Sub
End Class