Hi all,
How do I change the graphic or even set a specific CSS class for disabled items on a webdatamenu? If I set a button to be disabled, i can see the hover doesn't work and button cannot be clicked, that's fine, but we need to give or users a visual indication of which buttons are disabled, so like the ultrawebtoolbar used to have it would be nice to have a .DIsabledImage property on each .Item, how do we achieve the same effect in the WebDataMenu please?
Hi bartond31,
Thank you for posting on our forums!
After looking into this, there does not appear to be a property among the WebDataMenu or its items that specifies a DisabledCssClass. I did find a property to set your own CSS class on an item and this can be used with some code to set the style when the item is disabled.
I've attached a sample that demonstrates how I went about setting this up in C# and javascript.
If you have any further questions with this, please let me know.
Please let me know if you need further assistance with this issue and I'll be glad to help you.