RadMenu Item Width
I created a radmenu that dynamically loads its items from a database. I want to change the width of certain items that the radmenu dynamically creates. How would I go about this programmatically in vb...?
So far I just figured out how to set the third rad menu item "visible = false" by doing this....
Protected Sub MainMenu_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MainMenu.Load
MainMenu.Items(2).Visible = False
End Sub
Protected Sub MainMenu_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MainMenu.Load
MainMenu.Items(2).Width = "50px"
End Sub
Hi Aret,
Can you try defining width like this.
RadMenu1.Items[0].Items[0].Width = Unit.Pixel(200);
RadMenu1.Items[2].Width = Unit.Pixel(50);