Hi Telerik
We're building our Menu dynamically and we make use of the HighlighPath() method, everything works great.
Now some items do not have a NavigateUrl set, and we would like to assign a css class that shows just the default cursor, so everybody get's it that this element is not clickable.
I'm iterating through the items collection and mark empty items with a css class, but it does not work.
I tried to set enable = false for those items too, but then childItems aren't visible anymore.
Thanks for your help in advance!
Tom
We're building our Menu dynamically and we make use of the HighlighPath() method, everything works great.
Now some items do not have a NavigateUrl set, and we would like to assign a css class that shows just the default cursor, so everybody get's it that this element is not clickable.
I'm iterating through the items collection and mark empty items with a css class, but it does not work.
For Each item As RadMenuItem In RadMenu1.Items | |
If item.NavigateUrl = "" Then | |
item2.CssClass = "rmLink rmDisabled" | |
End If | |
Next |
I tried to set enable = false for those items too, but then childItems aren't visible anymore.
Thanks for your help in advance!
Tom