Hi,
UltraWebToolbar's TBarButton had DisabledImage property. I don't see it in DataMenuItem. Is this feature retired ?
Thanks,
Ed
Hello Majid Sahrai,
There is no 1:1 mapping between the old and the new(AJAX) toolkit.
In short, in the WebDataMenu the “equivalent” to the ToolbarButton is the DataMenuItem. In this particular case, DisabledImage property is not available in WebDataMenu and thus can not be set to DataMenuItem. In other words, this behavior you are looking for is not supported in WebDataMenu.
Here is a reference to the available DataItemAPI.
The question is asking how to disable the icon, not the whole menu item. Please read the question carefully.
Please contact me if I can be of further assistance.
Thank you for posting in the community.
WebDataMenu allows individual items to be disabled via Disabling Menu Items functionality. Set the DataMenuItem to Enabled="false"
A user specific styling can be applied by modifying the datamenu.css file, found in ig_res folder. CSS Classes related to the Disabling Menu functionality styling are .igdm_MenuItemVerticalDisabled and .igdm_MenuItemHorizontalDisabled. These CSS classes depend on the Menu Items Orientation. Additional information regarding disabling specific WebDataMenu items can be found at our online documentation section: http://help.infragistics.com/NetAdvantage/ASPNET/13.1/CLR4.0?page=WebDataMenu_Disabling_Menu_Items.html
If you have any questions or concerns with this, please let me know and I'll be glad to help.