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

SplitButton should be simpler

1 Answer 68 Views
Button
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 14 Feb 2018, 06:25 PM
I just used the SplitButton option for the first time, and I'm a bit underwhelmed. It works, yes, but having to add custom Javascript to control the interaction between a button and a separate context menu isn't very integrated. The RadButton should have an option for a 'SplitMenuID' field, which would automatically associate the controls and generate the needed Javascript to make the menu drop down when the downward arrow is clicked, the same way a RadTabStrip and RadMultiPage can be associated with each other without needing to write separate Javascript.

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 19 Feb 2018, 02:21 PM
Hi Peter,

Thank you for your feedback.

Indeed, it is a good idea having an option to associate the SplitButton with a Menu only through a property. I would like to encourage you to log it in our Feedback Portal.

Using the current implementation, as demonstrated in the Split Button article, the client-side API of the button gives the option to the developer to associate the button with controls other than RadContextMenu. For example, such controls can be RadWindow, RadLightBox or even a DIV container with multiple column and row options to choose from. 

Kind regards,
Attila Antal
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Button
Asked by
Peter
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question
or