I have a wizard that will step users through an application and we allow users to leave the application process and return later. We obviously don't want them to lose any progress they made previously so we store the data in the database. What I am looking to do is if data exists for step 1, load it, Save data on clicking "Next", then load step 2 (if data exists), save on "Next", etc.. through the process. I have the code to save the data but not sure of what RadWizard Function I should be referencing to load current step data. Here is what I have for when they click "Next"
Private
Sub
RadWizard1_ActiveStepChanged(sender
As
Object
, e
As
EventArgs)
Handles
RadWizard1.ActiveStepChanged
Dim
activeStepIndex
As
Integer
= TryCast(sender, RadWizard).ActiveStep.Index
If
activeStepIndex = 1
Then
SaveStep1()
ElseIf
activeStepIndex = 2
Then
SaveStep2()
ElseIf
activeStepIndex = 3
Then
'UploadFiles()
End
If
End
Sub