I have a RibbonBarSplitButton containing three RibbonBarButton items. If I set the SplitButton to enabled and the child Buttons to disabled, the SplitButton uses the disabled image, even though the control itself is enabled.
If I dynamically set the first button to enabled, the SplitButton image is not updated and still shows as disabled. After enabling the child button, I have to disable the SplitButton and then re-enable it for its image to change.
Is this a bug or am I missing something in how the controls are supposed to interact?
I am on Q2 2014 SP1
.
If I dynamically set the first button to enabled, the SplitButton image is not updated and still shows as disabled. After enabling the child button, I have to disable the SplitButton and then re-enable it for its image to change.
Is this a bug or am I missing something in how the controls are supposed to interact?
I am on Q2 2014 SP1
<
telerik:RibbonBarSplitButton
ID
=
"testSplit"
Text
=
"Split Button"
Size
=
"Large"
ImageUrlLarge
=
"Enabled.png"
DisabledImageUrlLarge
=
"Disabled.png"
ImageRenderingMode
=
"Dual"
Enabled
=
"true"
>
<
Buttons
>
<
telerik:RibbonBarButton
ID
=
"testSub1"
Text
=
"Option 1"
ImageUrl
=
"MyIcon.png"
DisabledImageUrl
=
"MyIconDis.png"
Enabled
=
"false"
Value
=
"alert('Option 1 clicked')"
/>
<
telerik:RibbonBarButton
ID
=
"testSub2"
Text
=
"Option 2"
ImageUrl
=
"MyIcon.png"
DisabledImageUrl
=
"MyIconDis.png"
Enabled
=
"false"
Value
=
"alert('Option 2 clicked')"
/>
</
Buttons
>
</
telerik:RibbonBarSplitButton
>