Link to home
Start Free TrialLog in
Avatar of SamJolly
SamJollyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Thoughts on building Wizard like forms using XML in ASP.NET

Hi,

I am interested in creating a flexible Wizard mechanism in ASP.NET using an XML file to define what controls go on each Wizard page. The reason for using XML is that it is easier to customise the Wizard using this approach. Also all data will be persisted by writing to an XML document.

Thoughts???

Thanks,

Sam
ASKER CERTIFIED SOLUTION
Avatar of gery128
gery128
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SamJolly

ASKER

So the Wizard control allows you to do this today? Also is possible to create some form of Workflow XML file to define which page is next dependent of what values are entered in a previous page?

Thanks,

Sam
You can create WizardStep dynamically. And check and set the ActiveStepIndex and other properties to behave it as you like.

I guess, these links will give you a fairly good start:

http://forums.asp.net/t/1101325.aspx/1

http://msdn.microsoft.com/en-us/library/w7dyf6b5%28v=vs.80%29.aspx
Thanks for this.... I am intrigued as to whether there is overlap between Workflow Foundation ie can you use WF to create complex workflows as opposed to the Wizard control?

Thanks,

Sam
I am not master as WF. But I can say WF is mostly used to control business logic at large.
In you case, you may want to develop custom control from wizard control (lengthy and time consuming process) or simply go with classes to handle wizard control.
thx