Search
Author
ASP.NET Tutorials
Author
Sheo Narayan
Advertisements


Winners

Win Prizes

Social Presence
Like us on Facebook

Silverlight Tutorials | Report a Bug in the Tutorial
asp:CreateUserWizard control
CreateUserWizard control is a ready to use control that is used to create a new user to the website.
 
CreateUserWizard control is a ready to use control that is used to create a new user to the website. In other words we can say that it a replacement of Registration form of a website. It has few steps to complete the registration process. Internally, When it is rendered on the page, it is implemented through <table></table> HTML tag.

Its properties like BackColor, ForeColor, BorderColor, BorderStyle, BorderWidth, Height etc. are implemented through style properites of <table, tr, td/> tag.

CreateUserWizard control uses Membership service to create user's details.

Following are some important events that are very useful.
Events of CreateUserWizard Control
ContinueButtonClick Fires when user clicks Continue button in the last wizard step.
CreatingUser Fires before creating a new user.
CreatedUser Fires after new user created.
CreateUserError Fires when creation of user is not successful.
DEMO : CreateUserWizard Show Source Code
NOTE: This example is not working as this control users in-built Membership and Role Manager Providers,
We will try to cover membership provider tutorials in future.

Sign Up for Your New Account
 
 
 
 
 
 
 
                    
// CreateUserWizard Control ////////////////////////////          
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" BackColor="#F7F6F3" BorderColor="#E6E2D8"
        BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" Enabled="False">
        <WizardSteps>
            <asp:CreateUserWizardStep runat="server">
            </asp:CreateUserWizardStep>
            <asp:CompleteWizardStep runat="server">
            </asp:CompleteWizardStep>
        </WizardSteps>
        <SideBarStyle BackColor="#5D7B9D" BorderWidth="0px" Font-Size="0.9em" VerticalAlign="Top" />
        <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <SideBarButtonStyle BorderWidth="0px" Font-Names="Verdana" ForeColor="White" />
        <NavigationButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="Verdana" ForeColor="#284775" />
        <HeaderStyle BackColor="#5D7B9D" BorderStyle="Solid" Font-Bold="True" Font-Size="0.9em"
            ForeColor="White" HorizontalAlign="Center" />
        <CreateUserButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="Verdana" ForeColor="#284775" />
        <ContinueButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="Verdana" ForeColor="#284775" />
        <StepStyle BorderWidth="0px" />
    </asp:CreateUserWizard>