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

How can I add a custom control to RadRibbonBar.

2 Answers 82 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Saifulla
Top achievements
Rank 1
Saifulla asked on 07 Oct 2018, 03:56 PM

Hi,

1. Can we add our own controls, like textbox, buttons etc.. to Ribbon Bar.

2. How can i execute a javascript fuction on a button click of ribbon bar.

 

Thanks.

2 Answers, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 11 Oct 2018, 02:19 PM
Hello Saifulla,

Custom controls can be added via a template as demonstrated in the RibbonBar - Templates demo.

Regarding the button clicks, you can subscribe to the OnClientButtonClicked event of the RibbonBar, check which is the button executing the click and then execute your custom JavaScript. 

Regards,
Peter Milchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Saifulla
Top achievements
Rank 1
answered on 11 Oct 2018, 02:23 PM

Thanks a lot sir.

 

Tags
RibbonBar
Asked by
Saifulla
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Saifulla
Top achievements
Rank 1
Share this question
or