Extracting Data from RadDataForm

2 posts, 0 answers
  1. Alan
    Alan avatar
    4 posts
    Member since:
    Jul 2016

    Posted 19 Jul Link to this post

    Hello, I am using a single page RadDataForm to send information to an outside API. I've gone through the getting started sections of the documentation but have had issues finding anything in regards taking the data from the active sheet of the form to go elsewhere. I know that binding data to the form is as easy as this.DataForm1.CurrentItem = Customer.defaults() and I can get my data onto the form. What I don't understand is how to do anything with that data once I've altered it or written over it. I have created a separate button that should submit an API post call with this information and clear the fields to be blank so another customer can be added.

    Any help would be greatly appreciated.

     

  2. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 22 Jul Link to this post

    Hi Alan,

    Since RadDataForm is a data-bound component, you can satisfy this requirement by fetching the needed property values of the underlying data source. They should be properly updated through the data binding after an edit is performed. Can you please give it a try and let me know how it goes?

    Best Regards,
    Stefan X1
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top