I'm attempting to create a wizard with an unknowable number of steps and outcomes. Steps are being created dynamically in code-behind based on user responses. I'm able to retrieve data from the wizard at completion and render my results correctly. If a user walks through the wizard in a linear way everything functions, but when users step back through the wizard via the previous button I need to trap this condition to prevent logic from re-running and creating duplicates of steps that already exist.
My question is - is there any absolute way to reference a particular step (i.e. step.ID) so I can check to see what step a user is leaving and what step a user is heading to? CurrentStepIndex is not usable since a user can arrive at a step from many different logical paths.
My question is - is there any absolute way to reference a particular step (i.e. step.ID) so I can check to see what step a user is leaving and what step a user is heading to? CurrentStepIndex is not usable since a user can arrive at a step from many different logical paths.