This is a migrated thread and some comments may be shown as answers.

Client-Side disable SplitButton working strange.

2 Answers 25 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 16 Jul 2010, 04:13 PM
When I try to disable the a SplitButton in the toolbar, it is not working as I would expect.

My problem is this :

 when I click on an item of the SplitButton, I want the SplitButton to be disabled (Not just the item, the entire SplitButton). When I clcik the item that was already selected, it's working fine but with any other one the SplitButton is grayed but I can still acces it and click the other item(see file). When I try to re-enable it the first item is still disable. I can easily go around this by disabling all the items, but it's probably not how it's supposed to be.

Hope you fix this, or tell me I'm doing something wrong.

Js code :
function buttonClicked(sender, args) {
    var toolbar = $find("<%= RadToolBar1.ClientID %>");
    var items = toolbar.get_items();
    items.getItem(0).disable();
}

2 Answers, 1 is accepted

Sort by
0
Sébastien
Top achievements
Rank 1
answered on 21 Jul 2010, 01:07 PM
Anyone experiencing the same behavior????
0
Accepted
Yana
Telerik team
answered on 22 Jul 2010, 11:47 AM
Hi Sébastien,

This is a bug in RadToolBar which I've logged and it will be fixed. Thank you for reporting it, you can find your points updated.

Greetings,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolBar
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Sébastien
Top achievements
Rank 1
Yana
Telerik team
Share this question
or