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

Dynamic Page Visibility

2 Answers 109 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Binu
Top achievements
Rank 1
Binu asked on 16 Jun 2017, 06:24 AM

Hi,

I am trying to add/remove Pages based on selection made during the a Page step. How can i do that?

Eg. If user select Radio button A in Step 2, i want to skip 3 steps next to it and add few more.

Please help.

 

Thanks

Binu

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Jun 2017, 08:43 AM
Hello Binu, 

Thank you for writing.  

It is suitable to use the SelectedPageChanging event which fires before the selected page of RadWizard is changed. It is a cancelable event. The arguments of the event provide the selected page of the control and the page to be selected. Thus, you can cancel navigating to a specific page and add a new WizardPage to the RadWizard.Pages collection. Then, set the SelectedPage property to this new page in order to navigate to it. 

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Binu
Top achievements
Rank 1
answered on 19 Jun 2017, 01:11 PM

Thanks Dess ,

this was the right approach for my case,

Tags
Wizard
Asked by
Binu
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Binu
Top achievements
Rank 1
Share this question
or