Client-Side disable SplitButton working strange.

3 posts, 1 answers
  1. Sébastien
    Sébastien avatar
    55 posts
    Member since:
    Jun 2010

    Posted 16 Jul 2010 Link to this post

    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. Sébastien
    Sébastien avatar
    55 posts
    Member since:
    Jun 2010

    Posted 21 Jul 2010 Link to this post

    Anyone experiencing the same behavior????
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 22 Jul 2010 Link to this post

    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
Back to Top