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

Extracting Data from RadDataForm

1 Answer 25 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 19 Jul 2016, 10:34 AM

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.

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 22 Jul 2016, 07:54 AM
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.
Tags
DataForm
Asked by
Alan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or