Ribbon button click from usercontrol

2 posts, 0 answers
  1. Oncidium
    Oncidium avatar
    1 posts
    Member since:
    Jul 2014

    Posted 11 Jan 2015 Link to this post

    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?


  2. Stefan
    Stefan avatar
    2908 posts

    Posted 12 Jan 2015 Link to this post

    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.


    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.

Back to Top