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

DataForm in RadWizard - How to get dataform data?

1 Answer 102 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 26 Feb 2016, 03:59 PM
I have a DataForm inside a step in a RadWizard. The dataform contains three comboboxes that are populated on the load of the particular step. I do not want to require the user to have to enter edit mode (I want the dataform to always be in editmode for every record). There is a datapager located at the bottom of the dataform. Whenever the user clicks on either the next or previous record buttons or advances to the next step in the wizard, I need to collect the checked items in each of the three comboboxes. I have tried to key off of the pageindexchanged but there is no dataformitem attached to this event apparently. I have tried to key into the itemupdated and itemediting events but they never fire. Is there a way to simply access the three comboboxes whenever the user changes the page index or advances to the next step in the wizard?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 02 Mar 2016, 12:04 PM
Hi David,

You can achieve this requirement both on server-side or client-side using the OnClientButtonClicking event handler:
http://docs.telerik.com/devtools/aspnet-ajax/controls/wizard/client-side-programming/overview#cancelling-an-action

Here you can find a practical RadDataForm web site
to demonstrate how you can access the controls within:
http://www.telerik.com/support/code-library/accessing-controls-in-dataform

I hope this will prove helpful.

Regards,
Eyup
Telerik
Tags
DataForm
Asked by
Bill
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or