I have been attempting to extend the create user wizard by adding an additional step to collect some contact information. I have added a multi form view to the CreateUserWizard and the UI works as expected except that it never perform the insert call for the DataSource. Can anyone point me to what I am doing wrong? I assume that part of the problem is that the CreateUserWizard never issues a CommandName="Insert", but not sure how to rectify that.
Thanks,
Jesse
Code:
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
<WizardSteps>
<asp:WizardStep ID="CreateUserWizardStep0" runat="server" Title="User Contact Info">
<data:MultiFormView ID="MultiFormView0" runat="server" AllowPaging="false" DataKeyNames="Userfk"
DataSourceID="ContactsDataSource1" DefaultMode="Insert">
<InsertItemTemplatePaths>
<data:TemplatePath Path="~/UserControls/UserContactFields.ascx" />
</InsertItemTemplatePaths>
</data:MultiFormView>
</asp:WizardStep>
<asp:CreateUserWizardStep runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep runat="server">
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
<data:ContactsDataSource ID="ContactsDataSource1" runat="server" InsertMethod="Insert">
<Parameters>
<asp:QueryStringParameter Name="userFk" QueryStringField="UserId" />
</Parameters>
</data:ContactsDataSource>