Button on a Spreadsheet

2 posts, 0 answers
  1. Reilly
    Reilly avatar
    3 posts
    Member since:
    Oct 2012

    Posted 26 Oct Link to this post

    I've started with your excellent RadSpreadsheet "First Look" SDK example so I have a dialog that looks a lot like Excel. I can fill in my data nicely.

    But what I'd like to do is to add buttons to the spreadsheet. Clicking those buttons would open small modal forms for calculating data which I'd use to update the sheet. I do not see that I can put a button into a cell. Is it possible to put a button onto the spreadsheet?

    Thanks.

    -reilly.

     

  2. Deyan
    Admin
    Deyan avatar
    135 posts

    Posted 31 Oct Link to this post

    Hello Reilly,

    Customizing RadSpreadsheet UI may be achieved by implementing custom layer. You may take a look at this forum post and its attached demo code. Although the demo is for Silverlight the same code may be used in WPF as well. When using the demo with the latest version of the product you will notice that there is breaking change in the custom layer API. The fix for the breaking change is to simply delete one method overload as mentioned in the forum post description.

    Additionally, you may take a look at another forum post demo, showing how to use RadNumericUpDown control as cell editor. 

    I hope this information is helpful. If you have any other questions or concerns please do not hesitate to contact us again.

    Regards,
    Deyan
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top