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

Save changes in grid edit form on Finish

2 Answers 87 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Eliyahu Goldin
Top achievements
Rank 1
Eliyahu Goldin asked on 11 Apr 2016, 11:14 AM

I have a RadWizard control in my RadGrid FormTemplate. I have controls in the Wizard steps bound to the grid data source.

How can I get the Wizard Finish button to save changes in the form? 

Normally I would assign a CommandName "Update" to a button in the FormTemplate but here I can't find a way of doing that on the Finish button in the wizard.

Another way, I tried to handle the Finish button clicked event but it doesn't seem to work:

        protected void wizPlan_FinishButtonClick(object sender, WizardEventArgs e)
        {
            this.grPlans.MasterTableView.PerformUpdate((sender as RadWizard).NamingContainer as GridEditFormItem);
        }

 

2 Answers, 1 is accepted

Sort by
0
Eliyahu Goldin
Top achievements
Rank 1
answered on 11 Apr 2016, 11:50 AM
Actually, the PerformUpdate way seems to do the job but I am still interested if I could get to the Finish button to use the CommandName. If this functionality is unavailable now, it would be a good addition.
0
Plamen
Telerik team
answered on 14 Apr 2016, 06:50 AM
Hi,

Thank you for getting in touch with us.

Unfortunately this functionality  is not supported by the RadWizard. Please excuse us for this limitation of the control.

Regards,
Plamen
Telerik
Tags
Wizard
Asked by
Eliyahu Goldin
Top achievements
Rank 1
Answers by
Eliyahu Goldin
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or