Divelements Community
Customer discussion of all Divelements products

Dynamic Wizard Pages

Latest post 05-14-2007 10:12 by Tim Dawson. 3 replies.
  • 02-26-2006 7:37

    Dynamic Wizard Pages

    Hi,

    I want to know if I will be able to use this wizard framework in my application.

    My application is used to run surveys. The survey definitions are defined in a database .

    The application reads questions and associated question options from a database and uses this information to populate the question.

    Each question defined has associated attributes like the control type that is used to display the options in or TextBox to allow the user to enter the answer, the data type and a few other options.

    The wizard will contains static start and finish pages and all the pages in between are dynamic.

    Is there a way that the wizard framework can be used in these circumstances where the tab pages are added and setup at run time?

    If this is possible, do you have any sample applications?

    Thanks,

    Matt
  • 03-23-2006 20:03 In reply to

    Re: Dynamic Wizard Pages

    Hello Matt,

    The wizard can certainly be used in this manner, in fact it's ideally suited for it. I don't have any sample applications but I'll try to explain it here. Obviously the creation of controls dynamically for questions would be up to you.

    You would create a WizardPage for each question/section then add it to the wizard. You can set a page's NextPage and PreviousPage properties dynamically depending on what questions have been answered if you like.

    The events raised by each page such as BeforeMoveNext give you an opportunity to change the NextPage property dymanically based on user choices.

    I hope this information is what you need.
  • 05-11-2007 22:33 In reply to

    • kettch
    • Top 500 Contributor
    • Joined on 05-11-2007
    • Posts 5

    Re: Dynamic Wizard Pages

    I'm doing something similar, except that the design of the wizard is self service. Is it possible to host the wizard control in anything other than a form?

    It would be nice to do this so that I can provide a live preview of what that particular WizardPage will look like.

    Thanks


    EDIT: The reason I ask is that I tried to drop the control into a panel control and it threw a designer error, but I just tried it in a form and it did the same thing, so I've got something else going on.
  • 05-14-2007 10:12 In reply to

    Re: Dynamic Wizard Pages

    Yes - there's no need for the wizard to necessarily be hosted in a form, though this will be greatly beneficial when it comes to the "Aero" style of wizard.
Page 1 of 1 (4 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems