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

Dynamic Pages

3 Answers 225 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
TheGramix
Top achievements
Rank 2
TheGramix asked on 13 Mar 2015, 11:00 AM
Hello everybody,
is it possible to define dynamic pages on the RadWizard Control or create the pages based on a List/Observable collection?

I would like, based on a property, to create or skip the WizardPages...

Many thanks for the answer
Dino

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Mar 2015, 09:56 AM
Hello Dino,

You can create and add wizard pages runtime by using RadWizard.WizardPages collection. Please note, that this collection does not have a setter.

As for your question about the skipping functionality, you can subscribe to the Previous and Next events of RadWizard and set the SelectedPageIndex property within the event handlers. You can check the Events documentation article for further reference.

I am also attaching a sample project for your convenience.

Let me know how this works for you.

Best Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
TheGramix
Top achievements
Rank 2
answered on 07 Apr 2015, 05:02 AM

Hello Stefan,

many thanks for your example but it is not what I need.

I would like to have everything in my view model. I am going to define some behavior to do it.

 

BR,

Dino

0
Stefan
Telerik team
answered on 09 Apr 2015, 03:41 PM
Hello Dino,

For a MVVM approach I can suggest you using Commands. You can check the How to use Commands in WPF article for more general information on that matter.

Actually, RadWizard provides a set of built-in Commands which you can use. Please check the Commands documentation article for further reference.

Hope this helps.

Best Regards,
Stefan
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Wizard
Asked by
TheGramix
Top achievements
Rank 2
Answers by
Stefan
Telerik team
TheGramix
Top achievements
Rank 2
Share this question
or