[NET6] C1SplitButton: how to hide clicked dropdown items

Posted by: wknauf on 1 June 2023, 10:57 am EST

    • Post Options:
    • Link

    Posted 1 June 2023, 10:57 am EST

    Take the sample from https://www.grapecity.com/forums/winforms-edition/net6-c1splitbutton-itemclicked-is-fired-when-hovering-over-item and update to .603: when clicking an item with childs, the menu stays visible and the child items are expanded.

    Is there any chance to hide the dropdown after an item click?

    I tried

    this.c1SplitButton1.DroppedDown = false;

    But this works only partially: the root menu is hidden, but the child menu that is expanded by the click stays visible.

    Best regards

    Wolfgang

  • Posted 2 June 2023, 2:57 am EST

    Hi Wolfgang,

    Thank you for sharing the details. We have shared your requirement with the development team to get their insights on it and will let you know the updates as soon as possible.

    [Internal Tracking ID: C1WIN-29713]

    Best Regards,

    Kartik

  • Posted 5 June 2023, 11:54 pm EST

    Hi Wolfgang,

    As per the development team, hiding only the root dropdown when setting this.c1SplitButton1.DroppedDown = false seems like a bug. They will fix this issue and the ETA for the same is the 2023v2 hotfix release. Unfortunately, they could not suggest a workaround with the API currently available.

    Thanks, and Kind Regards,

    Kartik

  • Posted 4 October 2023, 8:21 am EST

    Hi Wolfgang,

    We are glad to let you know that this issue has been fixed in the latest 2023v2(620) hotfix release.

    https://www.nuget.org/packages/C1.Win.Input/6.0.20232.620

    Best Regards,

    Kartik

  • Posted 9 October 2023, 5:30 am EST

    Thanks, I can confirm that this works now.

    Best regards

    Wolfgang

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels