Hello, I found issue that RibbonBarClickableItem has not specified UrlProperty attribute for DisabledImageUrl and DisabledImageUrlLarge properties So when I'm using relative url path in skin files the computed url is wrong. It is relative to path where control is used instead of relative in theme folder. Thanks Vlad
Add Track/Commit changes for RadRibbonBar like RadTreeView has. Currently enabling/disabling a ribbon bar item client side throws an error and blows up when a postback occurs after the client side change.
When a ToolTip of the RibbonBar is opened, it should cover external applets / plugins, such as JavaApplets, PDF, Flash etc, it's not rendered on top, but beneath.
Workaround: using the following handler for the OnClientLoad event of the RibbonBar <script> function OnClientLoad(sender, args) { var oldHide = sender._hideMenus; sender._hideMenus = function () { var ribbonBar = this, visibleMenus = $telerik.$(sender.get_element()).find("." + ribbonBar._cssClasses._rrbMenuGroupOut).filter(":visible").get(); for (i = 0, len = visibleMenus.length; i < len; i++) { var menu = visibleMenus[i]; menu._button.removeClass("rrbExpanded"); } oldHide.call(this) } } </script>
Workaround: Telerik.Web.UI.RadToolBar.Views.Lite.prototype._repaint = function () { this._updateItemsTextAndImage(); this._showAllHiddenItems(); if (this._owner.get_orientation() == Telerik.Web.UI.Orientation.Horizontal) { this._responsiveCheck(); } }
When the ImageUrl or ImageUrlLarge property is set and a button is disabled, it should show the ImageUrl or ImageUrlLarge image instead of a non-descript "x" image. This should be the default behavior when the DisabledImageUrl and DisabledImageUrlLarge proeprties are not set. I have created some javascript which accomplishes this, however this is really overkill and is as always subject to breakage if you change the control. I'm not sure why you guys decided your random "X" image would be a better indicator of a disabled button than the original image.
function setRibbonDisabledImages(ribbonBar) {
var tabs = ribbonBar.get_tabs();
for (i = 0; i < tabs.get_count(); i++) {
var tab = tabs.getTab(i);
var groups = tab.get_groups();
for (j = 0; j < groups.get_count(); j++) {
var group = groups.getGroup(j);
var items = group.get_items();
for (k = 0; k < items.get_count(); k++) {
var item = items.getItem(k);
if (item.get_imageUrl()) {
item.set_disabledImageUrl(item.get_imageUrl());
}
if (item.get_imageUrlLarge()) {
item.set_disabledImageUrlLarge(item.get_imageUrlLarge());
}
}
}
}
}