I have a RadToolbarSplitButton that has a DefaultButtonIndex pointing to one of the child buttons. The buttons are disabled by default until the page has finished loading in order to prevent the user from performing an action before the page is ready to handle it.
To enable the buttons, I have some client script that executes in the Ajax pageLoad method and the buttons are enabled conditionally depending on the circumstances surrounding the opening of the page (i.e. if the record is opened in readonly mode, then only certain buttons are enabled).
We have unique values for each button, but when we use findItemByValue to locate the buttons to enable, the default button (the one visible on the toolbar) is enabled, but the corresponding button in the dropdown list is disabled.
We either need a way to find all items with the same value or (preferrably) the item that we find with findItemByValue would apply its enabled state to all instances of the button. Does anyone know a way to accomplish this?
To enable the buttons, I have some client script that executes in the Ajax pageLoad method and the buttons are enabled conditionally depending on the circumstances surrounding the opening of the page (i.e. if the record is opened in readonly mode, then only certain buttons are enabled).
We have unique values for each button, but when we use findItemByValue to locate the buttons to enable, the default button (the one visible on the toolbar) is enabled, but the corresponding button in the dropdown list is disabled.
We either need a way to find all items with the same value or (preferrably) the item that we find with findItemByValue would apply its enabled state to all instances of the button. Does anyone know a way to accomplish this?