CreateUserWizard - add step but don't create user until all steps complete

Viewed 4903

I want to make use of the ootb ASP.NET2.0 MembershipProvider CreateUserWizard control, with a little customization to add a 2nd step.

The problem is that if my first step is type <asp:CreateUserWizardStep...> and my 2nd is <asp:WizardStep...>, the user is actually create imediately after the user clicks through from the first step and before they get to the second step.

here's the (very) basic control I'm using:

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
   <WizardSteps>
      <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
      </asp:CreateUserWizardStep>
      <asp:WizardStep runat="server" Title="License Step">
      </asp:WizardStep>
      <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
      </asp:CompleteWizardStep>
   </WizardSteps>
</asp:CreateUserWizard>

Is there anyway to tell the control to wait until all steps are complete before creating the user?

1 Answers
Related