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

Ribbon button click from usercontrol

1 Answer 142 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Oncidium
Top achievements
Rank 1
Oncidium asked on 11 Jan 2015, 06:08 AM
I'm playing around with the Ribbon bar and have multiple tabs which displays user controls for different sections of the program i'm playing around with. One section is products that is basically a datagrid with add, edit and delete functionality, this is all on a single user control. Normally I'd put the add, edit and update buttons in this user control so the main view doesn't get cluttered with code.

What is the best or most proper way to access the ribbon buttons from a user control?

  

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 12 Jan 2015, 12:14 PM
Hello Timothy,

Thank you for writing.

I would suggest that you expose the desired buttons via properties of your form. This way you will be able to access them easily.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RibbonBar
Asked by
Oncidium
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or