CreateUserWizard CreateUserWizard CreateUserWizard CreateUserWizard Class

Definition

Provides a user interface for creating new Web site user accounts.

public ref class CreateUserWizard : System::Web::UI::WebControls::Wizard
[System.ComponentModel.Bindable(false)]
public class CreateUserWizard : System.Web.UI.WebControls.Wizard
type CreateUserWizard = class
    inherit Wizard
Public Class CreateUserWizard
Inherits Wizard
Inheritance
Attributes

Examples

The first code example shows how to use the CreateUserWizard control in its basic form. This page will create a new Web site user account with the site's default MembershipProvider object.

<%@ page language="C#"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CreateUserWizard basic sample</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:createuserwizard id="Createuserwizard1" runat="server" >
      </asp:createuserwizard>
    </div>
    </form>
</body>
</html>
<%@ page language="VB"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CreateUserWizard basic sample</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:createuserwizard id="Createuserwizard1" runat="server" >
      </asp:createuserwizard>
    </div>
    </form>
</body>
</html>

The second code example shows how to use the CreateUserWizard control with the default templates.

Important

This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.

<%@ page language="C#"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CreateUserWizard Sample</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:createuserwizard id="Createuserwizard1" runat="server">
        <wizardsteps>
          <asp:createuserwizardstep runat="server" title="Sign Up for Your New Account">
            <contenttemplate>
              <table border="0">
                <tr>
                  <td>
                    <table border="0" style="height: 100%; width: 100%;">
                      <tr>
                        <td align="center" colspan="2">
                          Sign Up for Your New Account</td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="UserName" id="UserNameLabel">
                            User Name:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="UserName"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="UserName" tooltip="User Name is required."
                            id="UserNameRequired" validationgroup="Createuserwizard1" errormessage="User Name is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Password" id="PasswordLabel">
                            Password:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" textmode="Password" id="Password"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Password" tooltip="Password is required."
                            id="PasswordRequired" validationgroup="Createuserwizard1" errormessage="Password is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="ConfirmPassword" id="ConfirmPasswordLabel">
                            Confirm Password:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" textmode="Password" id="ConfirmPassword"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="ConfirmPassword" tooltip="Confirm Password is required."
                            id="ConfirmPasswordRequired" validationgroup="Createuserwizard1" errormessage="Confirm Password is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Email" id="EmailLabel">
                            Email:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="Email"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Email" tooltip="Email is required."
                            id="EmailRequired" validationgroup="Createuserwizard1" errormessage="Email is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Question" id="QuestionLabel">
                            Security Question:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="Question"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Question" tooltip="Security question is required."
                            id="QuestionRequired" validationgroup="Createuserwizard1" errormessage="Security question is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Answer" id="AnswerLabel">
                            Security Answer:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="Answer"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Answer" tooltip="Security answer is required."
                            id="AnswerRequired" validationgroup="Createuserwizard1" errormessage="Security answer is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="center" colspan="2">
                          <asp:comparevalidator runat="server" display="Dynamic" errormessage="The Password and Confirmation Password must match."
                            controltocompare="ConfirmPassword" controltovalidate="Password" id="PasswordCompare"
                            validationgroup="Createuserwizard1">
                          </asp:comparevalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="center" colspan="2" style="color: Red;">
                          <asp:literal runat="server" enableviewstate="False" id="FailureText">
                          </asp:literal>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </contenttemplate>
          </asp:createuserwizardstep>
          <asp:completewizardstep runat="server" title="Complete">
            <contenttemplate>
              <table border="0">
                <tr>
                  <td>
                    <table border="0" style="height: 100%; width: 100%;">
                      <tr>
                        <td align="center" colspan="2">
                          Complete</td>
                      </tr>
                      <tr>
                        <td>
                          Your account has been successfully created.</td>
                      </tr>
                      <tr>
                        <td align="right" colspan="2">
                          <asp:button runat="server" validationgroup="Createuserwizard1" commandname="Continue"
                            id="ContinueButton" causesvalidation="False" text="Continue" />
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </contenttemplate>
          </asp:completewizardstep>
        </wizardsteps>
      </asp:createuserwizard>
    </div>
    </form>
</body>
</html>
<%@ page language="VB"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CreateUserWizard sample</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:createuserwizard id="Createuserwizard1" runat="server">
        <wizardsteps>
          <asp:createuserwizardstep runat="server" title="Sign Up for Your New Account">
            <contenttemplate>
              <table border="0">
                <tr>
                  <td>
                    <table border="0" style="height: 100%; width: 100%;">
                      <tr>
                        <td align="center" colspan="2">
                          Sign Up for Your New Account</td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="UserName" id="UserNameLabel">
                            User Name:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="UserName"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="UserName" tooltip="User Name is required."
                            id="UserNameRequired" validationgroup="Createuserwizard1" errormessage="User Name is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Password" id="PasswordLabel">
                            Password:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" textmode="Password" id="Password"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Password" tooltip="Password is required."
                            id="PasswordRequired" validationgroup="Createuserwizard1" errormessage="Password is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="ConfirmPassword" id="ConfirmPasswordLabel">
                            Confirm Password:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" textmode="Password" id="ConfirmPassword"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="ConfirmPassword" tooltip="Confirm Password is required."
                            id="ConfirmPasswordRequired" validationgroup="Createuserwizard1" errormessage="Confirm Password is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Email" id="EmailLabel">
                            Email:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="Email"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Email" tooltip="Email is required."
                            id="EmailRequired" validationgroup="Createuserwizard1" errormessage="Email is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Question" id="QuestionLabel">
                            Security Question:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="Question"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Question" tooltip="Security question is required."
                            id="QuestionRequired" validationgroup="Createuserwizard1" errormessage="Security question is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="right">
                          <asp:label runat="server" associatedcontrolid="Answer" id="AnswerLabel">
                            Security Answer:</asp:label></td>
                        <td>
                          <asp:textbox runat="server" id="Answer"></asp:textbox>
                          <asp:requiredfieldvalidator runat="server" controltovalidate="Answer" tooltip="Security answer is required."
                            id="AnswerRequired" validationgroup="Createuserwizard1" errormessage="Security answer is required.">
                            *</asp:requiredfieldvalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="center" colspan="2">
                          <asp:comparevalidator runat="server" display="Dynamic" errormessage="The Password and Confirmation Password must match."
                            controltocompare="ConfirmPassword" controltovalidate="Password" id="PasswordCompare"
                            validationgroup="Createuserwizard1">
                          </asp:comparevalidator>
                        </td>
                      </tr>
                      <tr>
                        <td align="center" colspan="2" style="color: Red;">
                          <asp:literal runat="server" enableviewstate="False" id="FailureText">
                          </asp:literal>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </contenttemplate>
          </asp:createuserwizardstep>
          <asp:completewizardstep runat="server" title="Complete">
            <contenttemplate>
              <table border="0">
                <tr>
                  <td>
                    <table border="0" style="height: 100%; width: 100%;">
                      <tr>
                        <td align="center" colspan="2">
                          Complete</td>
                      </tr>
                      <tr>
                        <td>
                          Your account has been successfully created.</td>
                      </tr>
                      <tr>
                        <td align="right" colspan="2">
                          <asp:button runat="server" validationgroup="Createuserwizard1" commandname="Continue"
                            id="ContinueButton" causesvalidation="False" text="Continue" />
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </contenttemplate>
          </asp:completewizardstep>
        </wizardsteps>
      </asp:createuserwizard>
    </div>
    </form>
</body>
</html>

The third code example adds an additional step to the CreateUserWizard control and uses the CreatedUser event to store the user's first and last name in personalization properties. The code example requires the following entries in the Web.config file.

<configuration>

<system.web>

<profile>

<properties>

<add name="userName" />

</properties>

</profile>

</system.web>

</configuration>

Important

This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.

<%@ page language="C#"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
{
  Profile.SetPropertyValue("userName",firstName.Text + " " + lastName.Text);  
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
  <head runat="server">
    <title>
      CreateUserWizard.CreatedUser sample</title>
  </head>
  <body>
    <form id="form1" runat="server">
      <div>
        <asp:createuserwizard id="CreateUserWizard1" 
                              oncreateduser="CreateUserWizard1_CreatedUser"
                              runat="server">
          <wizardsteps>
            <asp:wizardstep runat="server" steptype="Start" title="Identification">
              Tell us your name:<br />
              <table width="100%">
                <tr>
                  <td>
                    First name:</td>
                  <td>
                    <asp:textbox id="firstName" runat="server" /></td>
                </tr>
                <tr>
                  <td>
                    Last name:</td>
                  <td>
                    <asp:textbox id="lastName" runat="server" /></td>
                </tr>
              </table>
            </asp:wizardstep>
            <asp:createuserwizardstep runat="server" title="Sign Up for Your New Account">
            </asp:createuserwizardstep>
          </wizardsteps>
        </asp:createuserwizard>
      </div>
    </form>
  </body>
</html>
<%@ page language="VB"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

  Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As System.EventArgs)
    Profile.SetPropertyValue("userName", firstName.Text & " " & lastName.Text)
  End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
  <head runat="server">
    <title>
      CreateUserWizard.CreatedUser sample</title>
  </head>
  <body>
    <form id="form1" runat="server">
      <div>
        <asp:createuserwizard id="CreateUserWizard1"
                              oncreateduser="CreateUserWizard1_CreatedUser"
                              runat="server">
          <wizardsteps>
            <asp:wizardstep runat="server" steptype="Start" title="Identification">
              Tell us your name:<br />
              <table width="100%">
                <tr>
                  <td>
                    First name:</td>
                  <td>
                    <asp:textbox id="firstName" runat="server" /></td>
                </tr>
                <tr>
                  <td>
                    Last name:</td>
                  <td>
                    <asp:textbox id="lastName" runat="server" /></td>
                </tr>
              </table>
            </asp:wizardstep>
            <asp:createuserwizardstep runat="server" title="Sign Up for Your New Account">
            </asp:createuserwizardstep>
          </wizardsteps>
        </asp:createuserwizard>
      </div>
    </form>
  </body>
</html>

Remarks

In this topic:

Introduction

The CreateUserWizard control provides the user interface for the MembershipProvider object that communicates with your Web site's user data store to create new user accounts in the data store. The CreateUserWizard relies on the MembershipProvider to create the user and disable them if necessary.

Note

If you are not familiar with ASP.NET login controls, you might find it helpful to read ASP.NET Login Controls Overview before continuing. For a list of other topics related to login controls and membership, see Managing Users by Using Membership.

By default, the CreateUserWizard control will accept a user name and password from the Web site visitor. Based on the requirements of the site's MembershipProvider object, the CreateUserWizard control will optionally accept an email address, represented by the Email property, and a password recovery confirmation question and answer, represented by Question and Answer. For a table showing all required and optional controls for CreateUserWizard, see CreateUserStep.

Important

If AutoGeneratePassword is set to true and the PasswordStrengthRegularExpression property is set in the application's Web.config file, you could potentially generate a password that does not pass the regular expression strength test. In this case, creating a user raises an error that indicates an invalid password.

Creating a User

When a user is created with the CreateUserWizard, the control interacts with the current MembershipProvider to accomplish the following tasks in order.

  1. Create a password if AutoGeneratePassword is set to true.

  2. Create the user in the data store that the MembershipProvider represents.

  3. Disable the user in the store if the DisableCreatedUser property is set to true.

You can extend the CreateUserWizard control to accept additional information by adding additional fields, or by adding additional steps before or after the provided templates in the CreateUserStep and CompleteStep properties.

Note

The CreateUserWizardStep step is the first step within the CreateUserWizard control, and is a required step. By default, the AllowReturn property is set to false to keep the user from returning to the CreateUserWizardStep step and accidentally attempting to create another user account with the same credentials. If EnableViewState is set to false, the AllowReturn property is not maintained in view state and you must include logic in your application to maintain the AllowReturn value.

CreateUserWizard control properties represented by text boxes, such as UserName, are accessible during all phases of the page life cycle. The control will pick up any changes made by the end user by means of the TextChanged event raised by the text boxes.

The CreateUserWizard control can optionally send email messages to new users if you have configured an SMTP mail server to send email. For more information, see the MailDefinition property.

Note

The CreateUserWizard control uses Internet email services to send login information to users. There are inherent security risks with sending passwords in email. You should determine whether these security risks are acceptable to your site.

Styles and Templates

When the CreateUserWizard control is not customized with templates, the AccessKey property of the CreateUserWizard control applies to the first text box in the control and the TabIndex property, which is applied to all text boxes of the control. If the CreateUserWizard control is customized with templates, then the AccessKey property and the TabIndex property are ignored. In this case, directly set the AccessKey property and the TabIndex property of each template child control.

CreateUserWizard control properties represented by text boxes, such as UserName and Password, are accessible during all phases of the page life cycle. The control will pick up any changes made by the end user by means of the TextChanged event raised by the text boxes.

Note

Setting the AutoGeneratePassword, MembershipProvider, or RequireEmail property recreates the child controls of the CreateUserWizard control, and their control state is lost in the process. To avoid this situation, explicitly maintain the control state of the CreateUserWizard control's child controls, or avoid putting controls inside of templates.

The following table lists the CreateUserWizard control style properties and explains which UI element each style property affects. For a list of which properties each style applies to, see the documentation for the individual style properties.

Style property UI element affected
ContinueButtonStyle Continue button.
CreateUserButtonStyle Create User button.
HyperLinkStyle Links to other pages.
InstructionTextStyle Instructional text on the page that tells users how to use the control.
LabelStyle Labels for all input fields, such as text boxes.
TextBoxStyle Text entry input fields.
TitleTextStyle Title text for each view.
CompleteSuccessTextStyle Text displayed to the user when the password recovery or reset attempt is successful.
ErrorMessageStyle Error messages when the membership provider fails to create a new user account.
PasswordHintStyle The text that describes password requirements.
ValidatorTextStyle Error messages associated with validation.

Validation Grouping

The CreateUserWizard control uses a validation group so that other fields on the same page as the CreateUserWizard control can be validated separately. By default, the ID property of the CreateUserWizard control is used as the name of the validation group. For example, a CreateUserWizard control with the ID "CreateUserWizard1" will use a validation group name of "CreateUserWizard1". If you want to set the validation group that the CreateUserWizard control is part of, you must template the control and change the validation group name.

Note that the CreateUserWizard class inherits from the Wizard class, which does not support special Microsoft Internet Explorer rendering for non-standard or quirks mode. The CreateUserWizard does not attempt to optimize rendering for non-standard Internet Explorer mode. To get the best Internet Explorer rendering using the CreateUserWizard control, use the XHTML doc type, which is added by default in Visual Web Developer and Visual Studio.

Formatting Using Layout Templates

The CreateUserWizard control lets you specify the layout of the control without requiring you to use an HTML table element. Instead, you can use a LayoutTemplate element to specify the layout. In the layout template, you create placeholder controls to indicate where items should be dynamically inserted into the control. (This is similar to how the template model for the ListView control works.) For more information, see the Wizard.LayoutTemplate property.

Accessibility

For information about how to configure this control so that it generates markup that conforms to accessibility standards, see Accessibility in Visual Studio and ASP.NET and ASP.NET Controls and Accessibility.

Declarative Syntax

<asp:CreateUserWizard  
    AccessKey="string"  
    ActiveStepIndex="integer"  
    Answer="string"  
    AnswerLabelText="string"  
    AnswerRequiredErrorMessage="string"  
    AutoGeneratePassword="True|False"  
    BackColor="color name|#dddddd"  
    BorderColor="color name|#dddddd"  
    BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge|  
        Inset|Outset"  
    BorderWidth="size"  
    CancelButtonImageUrl="uri"  
    CancelButtonText="string"  
    CancelButtonType="Button|Image|Link"  
    CancelDestinationPageUrl="uri"  
    CellPadding="integer"  
    CellSpacing="integer"  
    CompleteSuccessText="string"  
    ConfirmPasswordCompareErrorMessage="string"  
    ConfirmPasswordLabelText="string"  
    ConfirmPasswordRequiredErrorMessage="string"  
    ContinueButtonImageUrl="uri"  
    ContinueButtonText="string"  
    ContinueButtonType="Button|Image|Link"  
    ContinueDestinationPageUrl="uri"  
    CreateUserButtonImageUrl="uri"  
    CreateUserButtonText="string"  
    CreateUserButtonType="Button|Image|Link"  
    CssClass="string"  
    DisableCreatedUser="True|False"  
    DisplayCancelButton="True|False"  
    DisplaySideBar="True|False"  
    DuplicateEmailErrorMessage="string"  
    DuplicateUserNameErrorMessage="string"  
    EditProfileIconUrl="uri"  
    EditProfileText="string"  
    EditProfileUrl="uri"  
    Email="string"  
    EmailLabelText="string"  
    EmailRegularExpression="string"  
    EmailRegularExpressionErrorMessage="string"  
    EmailRequiredErrorMessage="string"  
    Enabled="True|False"  
    EnableTheming="True|False"  
    EnableViewState="True|False"  
    FinishCompleteButtonImageUrl="uri"  
    FinishCompleteButtonText="string"  
    FinishCompleteButtonType="Button|Image|Link"  
    FinishDestinationPageUrl="uri"  
    FinishPreviousButtonImageUrl="uri"  
    FinishPreviousButtonText="string"  
    FinishPreviousButtonType="Button|Image|Link"  
    Font-Bold="True|False"  
    Font-Italic="True|False"  
    Font-Names="string"  
    Font-Overline="True|False"  
    Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|  
        Large|X-Large|XX-Large"  
    Font-Strikeout="True|False"  
    Font-Underline="True|False"  
    ForeColor="color name|#dddddd"  
    HeaderText="string"  
    Height="size"  
    HelpPageIconUrl="uri"  
    HelpPageText="string"  
    HelpPageUrl="uri"  
    ID="string"  
    InstructionText="string"  
    InvalidAnswerErrorMessage="string"  
    InvalidEmailErrorMessage="string"  
    InvalidPasswordErrorMessage="string"  
    InvalidQuestionErrorMessage="string"  
    LoginCreatedUser="True|False"  
    MailDefinition-BodyFileName="uri"  
    MailDefinition-CC="string"  
    MailDefinition-From="string"  
    MailDefinition-IsBodyHtml="True|False"  
    MailDefinition-Priority="Normal|Low|High"  
    MailDefinition-Subject="string"  
    MembershipProvider="string"  
    OnActiveStepChanged="ActiveStepChanged event handler"  
    OnCancelButtonClick="CancelButtonClick event handler"  
    OnContinueButtonClick="ContinueButtonClick event handler"  
    OnCreatedUser="CreatedUser event handler"  
    OnCreateUserError="CreateUserError event handler"  
    OnCreatingUser="CreatingUser event handler"  
    OnDataBinding="DataBinding event handler"  
    OnDisposed="Disposed event handler"  
    OnFinishButtonClick="FinishButtonClick event handler"  
    OnInit="Init event handler"  
    OnLoad="Load event handler"  
    OnNextButtonClick="NextButtonClick event handler"  
    OnPreRender="PreRender event handler"  
    OnPreviousButtonClick="PreviousButtonClick event handler"  
    OnSendingMail="SendingMail event handler"  
    OnSendMailError="SendMailError event handler"  
    OnSideBarButtonClick="SideBarButtonClick event handler"  
    OnUnload="Unload event handler"  
    PasswordHintText="string"  
    PasswordLabelText="string"  
    PasswordRegularExpression="string"  
    PasswordRegularExpressionErrorMessage="string"  
    PasswordRequiredErrorMessage="string"  
    Question="string"  
    QuestionLabelText="string"  
    QuestionRequiredErrorMessage="string"  
    RequireEmail="True|False"  
    runat="server"  
    SkinID="string"  
    SkipLinkText="string"  
    StartNextButtonImageUrl="uri"  
    StartNextButtonText="string"  
    StartNextButtonType="Button|Image|Link"  
    StepNextButtonImageUrl="uri"  
    StepNextButtonText="string"  
    StepNextButtonType="Button|Image|Link"  
    StepPreviousButtonImageUrl="uri"  
    StepPreviousButtonText="string"  
    StepPreviousButtonType="Button|Image|Link"  
    Style="string"  
    TabIndex="integer"  
    ToolTip="string"  
    UnknownErrorMessage="string"  
    UserName="string"  
    UserNameLabelText="string"  
    UserNameRequiredErrorMessage="string"  
    Visible="True|False"  
    Width="size"  
>  
        <CancelButtonStyle/>  
        <CompleteSuccessTextStyle/>  
        <ContinueButtonStyle/>  
        <CreateUserButtonStyle/>  
        <ErrorMessageStyle/>  
        <FinishCompleteButtonStyle/>  
        <FinishNavigationTemplate>  
            <!-- child controls -->  
        </FinishNavigationTemplate>  
        <FinishPreviousButtonStyle/>  
        <HeaderStyle/>  
        <HeaderTemplate>  
            <!-- child controls -->  
        </HeaderTemplate>  
        <HyperLinkStyle/>  
        <InstructionTextStyle/>  
        <LabelStyle/>  
        <MailDefinition  
            BodyFileName="uri"  
            CC="string"  
            From="string"  
            IsBodyHtml="True|False"  
            Priority="Normal|Low|High"  
            Subject="string"  
>  
                <EmbeddedObjects>  
                        <asp:EmbeddedMailObject  
                            Name="string"  
                            Path="uri"  
                        />  
                </EmbeddedObjects>  
        </MailDefinition>  
        <NavigationButtonStyle/>  
        <NavigationStyle/>  
        <PasswordHintStyle/>  
        <SideBarButtonStyle/>  
        <SideBarStyle/>  
        <SideBarTemplate>  
            <!-- child controls -->  
        </SideBarTemplate>  
        <StartNavigationTemplate>  
            <!-- child controls -->  
        </StartNavigationTemplate>  
        <StartNextButtonStyle/>  
        <StepNavigationTemplate>  
            <!-- child controls -->  
        </StepNavigationTemplate>  
        <StepNextButtonStyle/>  
        <StepPreviousButtonStyle/>  
        <StepStyle/>  
        <TextBoxStyle/>  
        <TitleTextStyle/>  
        <ValidatorTextStyle/>  
        <WizardSteps>  
                <asp:TemplatedWizardStep  
                    AllowReturn="True|False"  
                    ContentTemplateContainer="string"  
                    EnableTheming="True|False"  
                    EnableViewState="True|False"  
                    ID="string"  
                    OnActivate="Activate event handler"  
                    OnDataBinding="DataBinding event handler"  
                    OnDeactivate="Deactivate event handler"  
                    OnDisposed="Disposed event handler"  
                    OnInit="Init event handler"  
                    OnLoad="Load event handler"  
                    OnPreRender="PreRender event handler"  
                    OnUnload="Unload event handler"  
                    runat="server"  
                    SkinID="string"  
                    StepType="Auto|Complete|Finish|Start|Step"  
                    Title="string"  
                    Visible="True|False"  
>  
                        <ContentTemplate>  
                            <!-- child controls -->  
                        </ContentTemplate>  
                        <CustomNavigationTemplate>  
                            <!-- child controls -->  
                        </CustomNavigationTemplate>  
                </asp:TemplatedWizardStep>  
                <asp:WizardStep  
                    AllowReturn="True|False"  
                    EnableTheming="True|False"  
                    EnableViewState="True|False"  
                    ID="string"  
                    OnActivate="Activate event handler"  
                    OnDataBinding="DataBinding event handler"  
                    OnDeactivate="Deactivate event handler"  
                    OnDisposed="Disposed event handler"  
                    OnInit="Init event handler"  
                    OnLoad="Load event handler"  
                    OnPreRender="PreRender event handler"  
                    OnUnload="Unload event handler"  
                    runat="server"  
                    SkinID="string"  
                    StepType="Auto|Complete|Finish|Start|Step"  
                    Title="string"  
                    Visible="True|False"  
                />  
        </WizardSteps>  
</asp:CreateUserWizard>  

Constructors

CreateUserWizard() CreateUserWizard() CreateUserWizard() CreateUserWizard()

Initializes a new instance of the CreateUserWizard class.

Fields

ContinueButtonCommandName ContinueButtonCommandName ContinueButtonCommandName ContinueButtonCommandName

Represents the CommandName value of the Continue button on the final step for creating a user account. The ContinueButtonCommandName field is read-only.

Properties

AccessKey AccessKey AccessKey AccessKey

Gets or sets the access key that allows you to quickly navigate to the Web server control.

(Inherited from WebControl)
ActiveStep ActiveStep ActiveStep ActiveStep

Gets the step in the WizardSteps collection that is currently displayed to the user.

(Inherited from Wizard)
ActiveStepIndex ActiveStepIndex ActiveStepIndex ActiveStepIndex

Gets or sets the step that is currently displayed to the user.

Adapter Adapter Adapter Adapter

Gets the browser-specific adapter for the control.

(Inherited from Control)
Answer Answer Answer Answer

Gets or sets the end user's answer to the password recovery confirmation question.

AnswerLabelText AnswerLabelText AnswerLabelText AnswerLabelText

Gets or sets the text of the label that identifies the password confirmation answer text box.

AnswerRequiredErrorMessage AnswerRequiredErrorMessage AnswerRequiredErrorMessage AnswerRequiredErrorMessage

Gets or sets the error message shown when the user does not enter an answer to the password confirmation question.

AppRelativeTemplateSourceDirectory AppRelativeTemplateSourceDirectory AppRelativeTemplateSourceDirectory AppRelativeTemplateSourceDirectory

Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.

(Inherited from Control)
Attributes Attributes Attributes Attributes

Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.

(Inherited from WebControl)
AutoGeneratePassword AutoGeneratePassword AutoGeneratePassword AutoGeneratePassword

Gets or sets a value indicating whether or not to automatically generate a password for the new user account.

BackColor BackColor BackColor BackColor

Gets or sets the background color of the Web server control.

(Inherited from WebControl)
BindingContainer BindingContainer BindingContainer BindingContainer

Gets the control that contains this control's data binding.

(Inherited from Control)
BorderColor BorderColor BorderColor BorderColor

Gets or sets the border color of the Web control.

(Inherited from WebControl)
BorderStyle BorderStyle BorderStyle BorderStyle

Gets or sets the border style of the Web server control.

(Inherited from WebControl)
BorderWidth BorderWidth BorderWidth BorderWidth

Gets or sets the border width of the Web server control.

(Inherited from WebControl)
CancelButtonImageUrl CancelButtonImageUrl CancelButtonImageUrl CancelButtonImageUrl

Gets or sets the URL of the image displayed for the Cancel button.

(Inherited from Wizard)
CancelButtonStyle CancelButtonStyle CancelButtonStyle CancelButtonStyle

Gets a reference to a collection of style properties that define the appearance of the Cancel button.

(Inherited from Wizard)
CancelButtonText CancelButtonText CancelButtonText CancelButtonText

Gets or sets the text caption that is displayed for the Cancel button.

(Inherited from Wizard)
CancelButtonType CancelButtonType CancelButtonType CancelButtonType

Gets or sets the type of button that is rendered as the Cancel button.

(Inherited from Wizard)
CancelDestinationPageUrl CancelDestinationPageUrl CancelDestinationPageUrl CancelDestinationPageUrl

Gets or sets the URL that the user is directed to when they click the Cancel button.

(Inherited from Wizard)
CellPadding CellPadding CellPadding CellPadding

Gets or sets the amount of space between the contents of the cell and the cell border.

(Inherited from Wizard)
CellSpacing CellSpacing CellSpacing CellSpacing

Gets or sets the amount of space between cells.

(Inherited from Wizard)
ChildControlsCreated ChildControlsCreated ChildControlsCreated ChildControlsCreated

Gets a value that indicates whether the server control's child controls have been created.

(Inherited from Control)
ClientID ClientID ClientID ClientID

Gets the control ID for HTML markup that is generated by ASP.NET.

(Inherited from Control)
ClientIDMode ClientIDMode ClientIDMode ClientIDMode

Gets or sets the algorithm that is used to generate the value of the ClientID property.

(Inherited from Control)
ClientIDSeparator ClientIDSeparator ClientIDSeparator ClientIDSeparator

Gets a character value representing the separator character used in the ClientID property.

(Inherited from Control)
CompleteStep CompleteStep CompleteStep CompleteStep

Gets a reference to the final user account creation step.

CompleteSuccessText CompleteSuccessText CompleteSuccessText CompleteSuccessText

Gets or sets the text displayed when a Web site user account is created successfully.

CompleteSuccessTextStyle CompleteSuccessTextStyle CompleteSuccessTextStyle CompleteSuccessTextStyle

Gets a reference to a collection of properties that define the appearance of the text displayed when a Web site user account is created successfully.

ConfirmPassword ConfirmPassword ConfirmPassword ConfirmPassword

Gets the second password entered by the user.

ConfirmPasswordCompareErrorMessage ConfirmPasswordCompareErrorMessage ConfirmPasswordCompareErrorMessage ConfirmPasswordCompareErrorMessage

Gets or sets the error message shown when the user enters two different passwords in the password and confirm password text boxes.

ConfirmPasswordLabelText ConfirmPasswordLabelText ConfirmPasswordLabelText ConfirmPasswordLabelText

Gets or sets text of the label for the second password text box.

ConfirmPasswordRequiredErrorMessage ConfirmPasswordRequiredErrorMessage ConfirmPasswordRequiredErrorMessage ConfirmPasswordRequiredErrorMessage

Gets or sets the error message displayed when the user leaves the confirm password text box empty.

Context Context Context Context

Gets the HttpContext object associated with the server control for the current Web request.

(Inherited from Control)
ContinueButtonImageUrl ContinueButtonImageUrl ContinueButtonImageUrl ContinueButtonImageUrl

Gets or sets the URL of an image used for the Continue button on the final user account creation step.

ContinueButtonStyle ContinueButtonStyle ContinueButtonStyle ContinueButtonStyle

Gets a reference to a collection of properties that define the appearance of the Continue button.

ContinueButtonText ContinueButtonText ContinueButtonText ContinueButtonText

Gets or sets the text caption displayed on the Continue button.

ContinueButtonType ContinueButtonType ContinueButtonType ContinueButtonType

Gets or sets the type of button rendered as the Continue button.

ContinueDestinationPageUrl ContinueDestinationPageUrl ContinueDestinationPageUrl ContinueDestinationPageUrl

Gets or sets the URL of the page that the user will see after clicking the Continue button on the success page.

Controls Controls Controls Controls

Gets a ControlCollection object that represents the child controls in a CompositeControl.

(Inherited from CompositeControl)
ControlStyle ControlStyle ControlStyle ControlStyle

Gets the style of the Web server control. This property is used primarily by control developers.

(Inherited from WebControl)
ControlStyleCreated ControlStyleCreated ControlStyleCreated ControlStyleCreated

Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.

(Inherited from WebControl)
CreateUserButtonImageUrl CreateUserButtonImageUrl CreateUserButtonImageUrl CreateUserButtonImageUrl

Gets or sets the URL of an image displayed for the Create User button.

CreateUserButtonStyle CreateUserButtonStyle CreateUserButtonStyle CreateUserButtonStyle

Gets a reference to a collection of properties that define the appearance of the Create User button.

CreateUserButtonText CreateUserButtonText CreateUserButtonText CreateUserButtonText

Gets or sets the text caption displayed on the Create User button.

CreateUserButtonType CreateUserButtonType CreateUserButtonType CreateUserButtonType

Gets or sets the type of button rendered as the Create User button.

CreateUserStep CreateUserStep CreateUserStep CreateUserStep

Gets a reference to the template for the user account creation step.

CssClass CssClass CssClass CssClass

Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.

(Inherited from WebControl)
DataItemContainer DataItemContainer DataItemContainer DataItemContainer

Gets a reference to the naming container if the naming container implements IDataItemContainer.

(Inherited from Control)
DataKeysContainer DataKeysContainer DataKeysContainer DataKeysContainer

Gets a reference to the naming container if the naming container implements IDataKeysControl.

(Inherited from Control)
DesignMode DesignMode DesignMode DesignMode

Gets a value indicating whether a control is being used on a design surface.

(Inherited from Control)
DisableCreatedUser DisableCreatedUser DisableCreatedUser DisableCreatedUser

Gets or sets a value indicating whether the new user should be allowed to log on to the Web site.

DisplayCancelButton DisplayCancelButton DisplayCancelButton DisplayCancelButton

Gets or sets a Boolean value indicating whether to display a Cancel button.

(Inherited from Wizard)
DisplaySideBar DisplaySideBar DisplaySideBar DisplaySideBar

Gets or sets a value indicating whether to display the sidebar area of the control.

DuplicateEmailErrorMessage DuplicateEmailErrorMessage DuplicateEmailErrorMessage DuplicateEmailErrorMessage

Gets or sets the error message displayed when the user enters an email address that is already in use in the membership provider.

DuplicateUserNameErrorMessage DuplicateUserNameErrorMessage DuplicateUserNameErrorMessage DuplicateUserNameErrorMessage

Gets or sets the error message displayed when the user enters a user name that is already in use in the membership provider.

EditProfileIconUrl EditProfileIconUrl EditProfileIconUrl EditProfileIconUrl

Gets or sets the URL of an image to display next to the link to the user profile editing page.

EditProfileText EditProfileText EditProfileText EditProfileText

Gets or sets the text caption for the link to the user profile editing page.

EditProfileUrl EditProfileUrl EditProfileUrl EditProfileUrl

Gets or sets the URL of the user profile editing page.

Email Email Email Email

Gets or sets the email address entered by the user.

EmailLabelText EmailLabelText EmailLabelText EmailLabelText

Gets or sets the text of the label for the email text box.

EmailRegularExpression EmailRegularExpression EmailRegularExpression EmailRegularExpression

Gets or sets a regular expression used to validate the provided email address.

EmailRegularExpressionErrorMessage EmailRegularExpressionErrorMessage EmailRegularExpressionErrorMessage EmailRegularExpressionErrorMessage

Gets or sets the error message displayed when the entered email address does not pass the site's criteria for email addresses.

EmailRequiredErrorMessage EmailRequiredErrorMessage EmailRequiredErrorMessage EmailRequiredErrorMessage

Gets or sets the error message shown to the user when an email address is not entered in the email text box.

Enabled Enabled Enabled Enabled

Gets or sets a value indicating whether the Web server control is enabled.

(Inherited from WebControl)
EnableTheming EnableTheming EnableTheming EnableTheming

Gets or sets a value indicating whether themes apply to this control.

(Inherited from WebControl)
EnableViewState EnableViewState EnableViewState EnableViewState

Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.

(Inherited from Control)
ErrorMessageStyle ErrorMessageStyle ErrorMessageStyle ErrorMessageStyle

Gets a reference to a collection of style properties that define the appearance of error messages.

Events Events Events Events

Gets a list of event handler delegates for the control. This property is read-only.

(Inherited from Control)
FinishCompleteButtonImageUrl FinishCompleteButtonImageUrl FinishCompleteButtonImageUrl FinishCompleteButtonImageUrl

Gets or sets the URL of the image that is displayed for the Finish button.

(Inherited from Wizard)
FinishCompleteButtonStyle FinishCompleteButtonStyle FinishCompleteButtonStyle FinishCompleteButtonStyle

Gets a reference to a Style object that defines the settings for the Finish button.

(Inherited from Wizard)
FinishCompleteButtonText FinishCompleteButtonText FinishCompleteButtonText FinishCompleteButtonText

Gets or sets the text caption that is displayed for the Finish button.

(Inherited from Wizard)
FinishCompleteButtonType FinishCompleteButtonType FinishCompleteButtonType FinishCompleteButtonType

Gets or sets the type of button that is rendered as the Finish button.

(Inherited from Wizard)
FinishDestinationPageUrl FinishDestinationPageUrl FinishDestinationPageUrl FinishDestinationPageUrl

Gets or sets the URL that the user is redirected to when they click the Finish button.

(Inherited from Wizard)
FinishNavigationTemplate FinishNavigationTemplate FinishNavigationTemplate FinishNavigationTemplate

Gets or sets the template that is used to display the navigation area on the Finish step.

(Inherited from Wizard)
FinishPreviousButtonImageUrl FinishPreviousButtonImageUrl FinishPreviousButtonImageUrl FinishPreviousButtonImageUrl

Gets or sets the URL of the image that is displayed for the Previous button on the Finish step.

(Inherited from Wizard)
FinishPreviousButtonStyle FinishPreviousButtonStyle FinishPreviousButtonStyle FinishPreviousButtonStyle

Gets a reference to a Style object that defines the settings for the Previous button on the Finish step.

(Inherited from Wizard)
FinishPreviousButtonText FinishPreviousButtonText FinishPreviousButtonText FinishPreviousButtonText

Gets or sets the text caption that is displayed for the Previous button on the Finish step.

(Inherited from Wizard)
FinishPreviousButtonType FinishPreviousButtonType FinishPreviousButtonType FinishPreviousButtonType

Gets or sets the type of button that is rendered as the Previous button on the Finish step.

(Inherited from Wizard)
Font Font Font Font

Gets the font properties associated with the Web server control.

(Inherited from WebControl)
ForeColor ForeColor ForeColor ForeColor

Gets or sets the foreground color (typically the color of the text) of the Web server control.

(Inherited from WebControl)
HasAttributes HasAttributes HasAttributes HasAttributes

Gets a value indicating whether the control has attributes set.

(Inherited from WebControl)
HasChildViewState HasChildViewState HasChildViewState HasChildViewState

Gets a value indicating whether the current server control's child controls have any saved view-state settings.

(Inherited from Control)
HeaderStyle HeaderStyle HeaderStyle HeaderStyle

Gets a reference to a Style object that defines the settings for the header area on the control.

(Inherited from Wizard)
HeaderTemplate HeaderTemplate HeaderTemplate HeaderTemplate

Gets or sets the template that is used to display the header area on the control.

(Inherited from Wizard)
HeaderText HeaderText HeaderText HeaderText

Gets or sets the text caption that is displayed for the header area on the control.

(Inherited from Wizard)
Height Height Height Height

Gets or sets the height of the Web server control.

(Inherited from WebControl)
HelpPageIconUrl HelpPageIconUrl HelpPageIconUrl HelpPageIconUrl

Gets or sets the URL of an image to display next to the link to the Help page.

HelpPageText HelpPageText HelpPageText HelpPageText

Gets or sets the text caption for the link to the Help page.

HelpPageUrl HelpPageUrl HelpPageUrl HelpPageUrl

Gets or sets the URL of the Help page.

HyperLinkStyle HyperLinkStyle HyperLinkStyle HyperLinkStyle

Gets or sets a collection of properties that define the appearance of hyperlinks.

IControlBuilderAccessor.ControlBuilder IControlBuilderAccessor.ControlBuilder IControlBuilderAccessor.ControlBuilder IControlBuilderAccessor.ControlBuilder

For a description of this member, see ControlBuilder.

(Inherited from Control)
IControlDesignerAccessor.UserData IControlDesignerAccessor.UserData IControlDesignerAccessor.UserData IControlDesignerAccessor.UserData

For a description of this member, see UserData.

(Inherited from Control)
ID ID ID ID

Gets or sets the programmatic identifier assigned to the server control.

(Inherited from Control)
IDataBindingsAccessor.DataBindings IDataBindingsAccessor.DataBindings IDataBindingsAccessor.DataBindings IDataBindingsAccessor.DataBindings

For a description of this member, see DataBindings.

(Inherited from Control)
IDataBindingsAccessor.HasDataBindings IDataBindingsAccessor.HasDataBindings IDataBindingsAccessor.HasDataBindings IDataBindingsAccessor.HasDataBindings

For a description of this member, see HasDataBindings.

(Inherited from Control)
IdSeparator IdSeparator IdSeparator IdSeparator

Gets the character used to separate control identifiers.

(Inherited from Control)
IExpressionsAccessor.Expressions IExpressionsAccessor.Expressions IExpressionsAccessor.Expressions IExpressionsAccessor.Expressions

For a description of this member, see Expressions.

(Inherited from Control)
IExpressionsAccessor.HasExpressions IExpressionsAccessor.HasExpressions IExpressionsAccessor.HasExpressions IExpressionsAccessor.HasExpressions

For a description of this member, see HasExpressions.

(Inherited from Control)
InstructionText InstructionText InstructionText InstructionText

Gets or sets instructions for creating a new user account.

InstructionTextStyle InstructionTextStyle InstructionTextStyle InstructionTextStyle

Gets a reference to a collection of properties that define the appearance of instruction text.

InvalidAnswerErrorMessage InvalidAnswerErrorMessage InvalidAnswerErrorMessage InvalidAnswerErrorMessage

Gets or sets the message displayed when the password retrieval answer is not valid.

InvalidEmailErrorMessage InvalidEmailErrorMessage InvalidEmailErrorMessage InvalidEmailErrorMessage

Gets or sets the message displayed when the entered email address is not valid.

InvalidPasswordErrorMessage InvalidPasswordErrorMessage InvalidPasswordErrorMessage InvalidPasswordErrorMessage

Gets or sets the message displayed when the password entered is not valid.

InvalidQuestionErrorMessage InvalidQuestionErrorMessage InvalidQuestionErrorMessage InvalidQuestionErrorMessage

Gets or sets the message displayed when the password retrieval question entered is not valid.

IsChildControlStateCleared IsChildControlStateCleared IsChildControlStateCleared IsChildControlStateCleared

Gets a value indicating whether controls contained within this control have control state.

(Inherited from Control)
IsEnabled IsEnabled IsEnabled IsEnabled

Gets a value indicating whether the control is enabled.

(Inherited from WebControl)
IsTrackingViewState IsTrackingViewState IsTrackingViewState IsTrackingViewState

Gets a value that indicates whether the server control is saving changes to its view state.

(Inherited from Control)
IsViewStateEnabled IsViewStateEnabled IsViewStateEnabled IsViewStateEnabled

Gets a value indicating whether view state is enabled for this control.

(Inherited from Control)
LabelStyle LabelStyle LabelStyle LabelStyle

Gets a reference to a collection of properties that define the appearance of labels.

LayoutTemplate LayoutTemplate LayoutTemplate LayoutTemplate

Gets or sets the custom content of the root container in a Wizard control.

(Inherited from Wizard)
LoadViewStateByID LoadViewStateByID LoadViewStateByID LoadViewStateByID

Gets a value indicating whether the control participates in loading its view state by ID instead of index.

(Inherited from Control)
LoginCreatedUser LoginCreatedUser LoginCreatedUser LoginCreatedUser

Gets or sets a value indicating whether to log in the new user after creating the user account.

MailDefinition MailDefinition MailDefinition MailDefinition

Gets a reference to a collection of properties that define the characteristics of the email message sent to new users.

MembershipProvider MembershipProvider MembershipProvider MembershipProvider

Gets or sets the membership provider called to create user accounts.

NamingContainer NamingContainer NamingContainer NamingContainer

Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.

(Inherited from Control)
NavigationButtonStyle NavigationButtonStyle NavigationButtonStyle NavigationButtonStyle

Gets a reference to a Style object that defines the settings for the buttons in the navigation area on the control.

(Inherited from Wizard)
NavigationStyle NavigationStyle NavigationStyle NavigationStyle

Gets a reference to a Style object that defines the settings for the navigation area on the control.

(Inherited from Wizard)
Page Page Page Page

Gets a reference to the Page instance that contains the server control.

(Inherited from Control)
Parent Parent Parent Parent

Gets a reference to the server control's parent control in the page control hierarchy.

(Inherited from Control)
Password Password Password Password

Gets the password entered by the user.

PasswordHintStyle PasswordHintStyle PasswordHintStyle PasswordHintStyle

Gets a reference to a collection of properties that define the appearance of the text that describes password requirements.

PasswordHintText PasswordHintText PasswordHintText PasswordHintText

Gets or sets the text that describes password requirements.

PasswordLabelText PasswordLabelText PasswordLabelText PasswordLabelText

Gets or sets the text of the label for the password text box.

PasswordRegularExpression PasswordRegularExpression PasswordRegularExpression PasswordRegularExpression

Gets or sets a regular expression used to validate the provided password.

PasswordRegularExpressionErrorMessage PasswordRegularExpressionErrorMessage PasswordRegularExpressionErrorMessage PasswordRegularExpressionErrorMessage

Gets or sets the error message shown when the password entered does not conform to the site's password requirements.

PasswordRequiredErrorMessage PasswordRequiredErrorMessage PasswordRequiredErrorMessage PasswordRequiredErrorMessage

Gets or sets the text of the error message shown when the user does not enter a password.

Question Question Question Question

Gets or sets the password recovery confirmation question entered by the user.

QuestionAndAnswerRequired QuestionAndAnswerRequired QuestionAndAnswerRequired QuestionAndAnswerRequired

Gets a value indicating whether the user is required to enter a password confirmation question and answer.

QuestionLabelText QuestionLabelText QuestionLabelText QuestionLabelText

Gets or sets the text of the label for the question text box.

QuestionRequiredErrorMessage QuestionRequiredErrorMessage QuestionRequiredErrorMessage QuestionRequiredErrorMessage

Gets or sets the error message that is displayed when the user does not enter a password confirmation question.

RenderingCompatibility RenderingCompatibility RenderingCompatibility RenderingCompatibility

Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with.

(Inherited from Control)
RequireEmail RequireEmail RequireEmail RequireEmail

Gets or sets a value indicating whether an email address is required for the Web site user.

SideBarButtonStyle SideBarButtonStyle SideBarButtonStyle SideBarButtonStyle

Gets a reference to a Style object that defines the settings for the buttons on the sidebar.

(Inherited from Wizard)
SideBarStyle SideBarStyle SideBarStyle SideBarStyle

Gets a reference to a Style object that defines the settings for the sidebar area on the control.

(Inherited from Wizard)
SideBarTemplate SideBarTemplate SideBarTemplate SideBarTemplate

Gets or sets the template that is used to display the sidebar area on the control.

(Inherited from Wizard)
Site Site Site Site

Gets information about the container that hosts the current control when rendered on a design surface.

(Inherited from Control)
SkinID SkinID SkinID SkinID

Gets or sets the skin to apply to the control.

(Inherited from WebControl)
SkipLinkText SkipLinkText SkipLinkText SkipLinkText

Gets or sets a value that is used to render alternate text that notifies screen readers to skip the sidebar area's content.

StartNavigationTemplate StartNavigationTemplate StartNavigationTemplate StartNavigationTemplate

Gets or sets the template that is used to display the navigation area on the Start step of the Wizard control.

(Inherited from Wizard)
StartNextButtonImageUrl StartNextButtonImageUrl StartNextButtonImageUrl StartNextButtonImageUrl

Gets or sets the URL of the image that is displayed for the Next button on the Start step.

(Inherited from Wizard)
StartNextButtonStyle StartNextButtonStyle StartNextButtonStyle StartNextButtonStyle

Gets a reference to a Style object that defines the settings for the Next button on the Start step.

(Inherited from Wizard)
StartNextButtonText StartNextButtonText StartNextButtonText StartNextButtonText

Gets or sets the text caption that is displayed for the Next button on the Start step.

(Inherited from Wizard)
StartNextButtonType StartNextButtonType StartNextButtonType StartNextButtonType

Gets or sets the type of button that is rendered as the Next button on the Start step.

(Inherited from Wizard)
StepNavigationTemplate StepNavigationTemplate StepNavigationTemplate StepNavigationTemplate

Gets or sets the template that is used to display the navigation area on any WizardStepBase-derived objects other than the Start, the Finish, or Complete step.

(Inherited from Wizard)
StepNextButtonImageUrl StepNextButtonImageUrl StepNextButtonImageUrl StepNextButtonImageUrl

Gets or sets the URL of the image that is displayed for the Next button.

(Inherited from Wizard)
StepNextButtonStyle StepNextButtonStyle StepNextButtonStyle StepNextButtonStyle

Gets a reference to the Style object that defines the settings for the Next button.

(Inherited from Wizard)
StepNextButtonText StepNextButtonText StepNextButtonText StepNextButtonText

Gets or sets the text caption that is displayed for the Next button.

(Inherited from Wizard)
StepNextButtonType StepNextButtonType StepNextButtonType StepNextButtonType

Gets or sets the type of button that is rendered as the Next button.

(Inherited from Wizard)
StepPreviousButtonImageUrl StepPreviousButtonImageUrl StepPreviousButtonImageUrl StepPreviousButtonImageUrl

Gets or sets the URL of the image that is displayed for the Previous button.

(Inherited from Wizard)
StepPreviousButtonStyle StepPreviousButtonStyle StepPreviousButtonStyle StepPreviousButtonStyle

Gets a reference to a Style object that defines the settings for the Previous button.

(Inherited from Wizard)
StepPreviousButtonText StepPreviousButtonText StepPreviousButtonText StepPreviousButtonText

Gets or sets the text caption that is displayed for the Previous button.

(Inherited from Wizard)
StepPreviousButtonType StepPreviousButtonType StepPreviousButtonType StepPreviousButtonType

Gets or sets the type of button that is rendered as the Previous button.

(Inherited from Wizard)
StepStyle StepStyle StepStyle StepStyle

Gets a reference to a Style object that defines the settings for the WizardStep objects.

(Inherited from Wizard)
Style Style Style Style

Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.

(Inherited from WebControl)
SupportsDisabledAttribute SupportsDisabledAttribute SupportsDisabledAttribute SupportsDisabledAttribute

Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's IsEnabled property is false.

(Inherited from CompositeControl)
TabIndex TabIndex TabIndex TabIndex

Gets or sets the tab index of the Web server control.

(Inherited from WebControl)
TagKey TagKey TagKey TagKey

Gets the HtmlTextWriterTag value that corresponds to the Wizard control.

(Inherited from Wizard)
TagName TagName TagName TagName

Gets the name of the control tag. This property is used primarily by control developers.

(Inherited from WebControl)
TemplateControl TemplateControl TemplateControl TemplateControl

Gets or sets a reference to the template that contains this control.

(Inherited from Control)
TemplateSourceDirectory TemplateSourceDirectory TemplateSourceDirectory TemplateSourceDirectory

Gets the virtual directory of the Page or UserControl that contains the current server control.

(Inherited from Control)
TextBoxStyle TextBoxStyle TextBoxStyle TextBoxStyle

Gets a reference to a collection of properties that define the appearance of text box controls.

TitleTextStyle TitleTextStyle TitleTextStyle TitleTextStyle

Gets a reference to a collection of properties that define the appearance of titles.

ToolTip ToolTip ToolTip ToolTip

Gets or sets the text displayed when the mouse pointer hovers over the Web server control.

(Inherited from WebControl)
UniqueID UniqueID UniqueID UniqueID

Gets the unique, hierarchically qualified identifier for the server control.

(Inherited from Control)
UnknownErrorMessage UnknownErrorMessage UnknownErrorMessage UnknownErrorMessage

Gets or sets the error message displayed when an error returned by the membership provider is not defined.

UserName UserName UserName UserName

Gets or sets the user name entered by the user.

UserNameLabelText UserNameLabelText UserNameLabelText UserNameLabelText

Gets or sets the text of the label for the user name text box.

UserNameRequiredErrorMessage UserNameRequiredErrorMessage UserNameRequiredErrorMessage UserNameRequiredErrorMessage

Gets or sets the error message displayed when the user name text box is left blank.

ValidateRequestMode ValidateRequestMode ValidateRequestMode ValidateRequestMode

Gets or sets a value that indicates whether the control checks client input from the browser for potentially dangerous values.

(Inherited from Control)
ValidatorTextStyle ValidatorTextStyle ValidatorTextStyle ValidatorTextStyle

Gets a reference to the Style object that allows you to set the appearance of the validation error messages.

ViewState ViewState ViewState ViewState

Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.

(Inherited from Control)
ViewStateIgnoresCase ViewStateIgnoresCase ViewStateIgnoresCase ViewStateIgnoresCase

Gets a value that indicates whether the StateBag object is case-insensitive.

(Inherited from Control)
ViewStateMode ViewStateMode ViewStateMode ViewStateMode

Gets or sets the view-state mode of this control.

(Inherited from Control)
Visible Visible Visible Visible

Gets or sets a value that indicates whether a server control is rendered as UI on the page.

(Inherited from Control)
Width Width Width Width

Gets or sets the width of the Web server control.

(Inherited from WebControl)
WizardSteps WizardSteps WizardSteps WizardSteps

Gets a reference to a collection containing all the WizardStepBase objects defined for the control.

Methods

AddAttributesToRender(HtmlTextWriter) AddAttributesToRender(HtmlTextWriter) AddAttributesToRender(HtmlTextWriter) AddAttributesToRender(HtmlTextWriter)

Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This method is used primarily by control developers.

(Inherited from WebControl)
AddedControl(Control, Int32) AddedControl(Control, Int32) AddedControl(Control, Int32) AddedControl(Control, Int32)

Called after a child control is added to the Controls collection of the Control object.

(Inherited from Control)
AddParsedSubObject(Object) AddParsedSubObject(Object) AddParsedSubObject(Object) AddParsedSubObject(Object)

Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.

(Inherited from Control)
AllowNavigationToStep(Int32) AllowNavigationToStep(Int32) AllowNavigationToStep(Int32) AllowNavigationToStep(Int32)

Uses a Boolean value to determine whether the ActiveStep property can be set to the WizardStepBase object that corresponds to the index that is passed in.

(Inherited from Wizard)
ApplyStyle(Style) ApplyStyle(Style) ApplyStyle(Style) ApplyStyle(Style)

Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.

(Inherited from WebControl)
ApplyStyleSheetSkin(Page) ApplyStyleSheetSkin(Page) ApplyStyleSheetSkin(Page) ApplyStyleSheetSkin(Page)

Applies the style properties defined in the page style sheet to the control.

(Inherited from Control)
BeginRenderTracing(TextWriter, Object) BeginRenderTracing(TextWriter, Object) BeginRenderTracing(TextWriter, Object) BeginRenderTracing(TextWriter, Object)

Begins design-time tracing of rendering data.

(Inherited from Control)
BuildProfileTree(String, Boolean) BuildProfileTree(String, Boolean) BuildProfileTree(String, Boolean) BuildProfileTree(String, Boolean)

Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.

(Inherited from Control)
ClearCachedClientID() ClearCachedClientID() ClearCachedClientID() ClearCachedClientID()

Sets the cached ClientID value to null.

(Inherited from Control)
ClearChildControlState() ClearChildControlState() ClearChildControlState() ClearChildControlState()

Deletes the control-state information for the server control's child controls.

(Inherited from Control)
ClearChildState() ClearChildState() ClearChildState() ClearChildState()

Deletes the view-state and control-state information for all the server control's child controls.

(Inherited from Control)
ClearChildViewState() ClearChildViewState() ClearChildViewState() ClearChildViewState()

Deletes the view-state information for all the server control's child controls.

(Inherited from Control)
ClearEffectiveClientIDMode() ClearEffectiveClientIDMode() ClearEffectiveClientIDMode() ClearEffectiveClientIDMode()

Sets the ClientIDMode property of the current control instance and of any child controls to Inherit.

(Inherited from Control)
CopyBaseAttributes(WebControl) CopyBaseAttributes(WebControl) CopyBaseAttributes(WebControl) CopyBaseAttributes(WebControl)

Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.

(Inherited from WebControl)
CreateChildControls() CreateChildControls() CreateChildControls() CreateChildControls()

Called by the ASP.NET page framework to notify this control to create any child controls that it contains in preparation for posting back or rendering.

CreateControlCollection() CreateControlCollection() CreateControlCollection() CreateControlCollection()

Creates control collection.

(Inherited from Wizard)
CreateControlHierarchy() CreateControlHierarchy() CreateControlHierarchy() CreateControlHierarchy()
CreateControlStyle() CreateControlStyle() CreateControlStyle() CreateControlStyle()

Creates control style.

(Inherited from Wizard)
DataBind() DataBind() DataBind() DataBind()

Binds a data source to the CompositeControl and all its child controls.

(Inherited from CompositeControl)
DataBind(Boolean) DataBind(Boolean) DataBind(Boolean) DataBind(Boolean)

Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event.

(Inherited from Control)
DataBindChildren() DataBindChildren() DataBindChildren() DataBindChildren()

Binds a data source to the server control's child controls.

(Inherited from Control)
Dispose() Dispose() Dispose() Dispose()

Enables a server control to perform final clean up before it is released from memory.

(Inherited from Control)
EndRenderTracing(TextWriter, Object) EndRenderTracing(TextWriter, Object) EndRenderTracing(TextWriter, Object) EndRenderTracing(TextWriter, Object)

Ends design-time tracing of rendering data.

(Inherited from Control)
EnsureChildControls() EnsureChildControls() EnsureChildControls() EnsureChildControls()

Determines whether the server control contains child controls. If it does not, it creates child controls.

(Inherited from Control)
EnsureID() EnsureID() EnsureID() EnsureID()

Creates an identifier for controls that do not have an identifier assigned.

(Inherited from Control)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindControl(String) FindControl(String) FindControl(String) FindControl(String)

Searches the current naming container for a server control with the specified id parameter.

(Inherited from Control)
FindControl(String, Int32) FindControl(String, Int32) FindControl(String, Int32) FindControl(String, Int32)

Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.

(Inherited from Control)
Focus() Focus() Focus() Focus()

Sets input focus to a control.

(Inherited from Control)
GetDesignModeState() GetDesignModeState() GetDesignModeState() GetDesignModeState()

Gets design-time data for a control.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHistory() GetHistory() GetHistory() GetHistory()

Returns a collection of WizardStepBase objects that have been accessed.

(Inherited from Wizard)
GetRouteUrl(Object) GetRouteUrl(Object) GetRouteUrl(Object) GetRouteUrl(Object)

Gets the URL that corresponds to a set of route parameters.

(Inherited from Control)
GetRouteUrl(RouteValueDictionary) GetRouteUrl(RouteValueDictionary) GetRouteUrl(RouteValueDictionary) GetRouteUrl(RouteValueDictionary)

Gets the URL that corresponds to a set of route parameters.

(Inherited from Control)
GetRouteUrl(String, Object) GetRouteUrl(String, Object) GetRouteUrl(String, Object) GetRouteUrl(String, Object)

Gets the URL that corresponds to a set of route parameters and a route name.

(Inherited from Control)
GetRouteUrl(String, RouteValueDictionary) GetRouteUrl(String, RouteValueDictionary) GetRouteUrl(String, RouteValueDictionary) GetRouteUrl(String, RouteValueDictionary)

Gets the URL that corresponds to a set of route parameters and a route name.

(Inherited from Control)
GetStepType(WizardStepBase, Int32) GetStepType(WizardStepBase, Int32) GetStepType(WizardStepBase, Int32) GetStepType(WizardStepBase, Int32)

Returns the WizardStepType value for the specified WizardStepBase object.

(Inherited from Wizard)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUniqueIDRelativeTo(Control) GetUniqueIDRelativeTo(Control) GetUniqueIDRelativeTo(Control) GetUniqueIDRelativeTo(Control)

Returns the prefixed portion of the UniqueID property of the specified control.

(Inherited from Control)
HasControls() HasControls() HasControls() HasControls()

Determines if the server control contains any child controls.

(Inherited from Control)
HasEvents() HasEvents() HasEvents() HasEvents()

Returns a value indicating whether events are registered for the control or any child controls.

(Inherited from Control)
IsLiteralContent() IsLiteralContent() IsLiteralContent() IsLiteralContent()

Determines if the server control holds only literal content.

(Inherited from Control)
LoadControlState(Object) LoadControlState(Object) LoadControlState(Object) LoadControlState(Object)

Restores control state information.

(Inherited from Wizard)
LoadViewState(Object) LoadViewState(Object) LoadViewState(Object) LoadViewState(Object)

Restores view-state information from a previous page request that was saved by the SaveViewState method.

MapPathSecure(String) MapPathSecure(String) MapPathSecure(String) MapPathSecure(String)

Retrieves the physical path that a virtual path, either absolute or relative, maps to.

(Inherited from Control)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MergeStyle(Style) MergeStyle(Style) MergeStyle(Style) MergeStyle(Style)

Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.

(Inherited from WebControl)
MoveTo(WizardStepBase) MoveTo(WizardStepBase) MoveTo(WizardStepBase) MoveTo(WizardStepBase)

Sets the specified WizardStepBase-derived object as the value for the ActiveStep property of the Wizard control.

(Inherited from Wizard)
OnActiveStepChanged(Object, EventArgs) OnActiveStepChanged(Object, EventArgs) OnActiveStepChanged(Object, EventArgs) OnActiveStepChanged(Object, EventArgs)

Raises the ActiveStepChanged event.

(Inherited from Wizard)
OnBubbleEvent(Object, EventArgs) OnBubbleEvent(Object, EventArgs) OnBubbleEvent(Object, EventArgs) OnBubbleEvent(Object, EventArgs)

Determines whether the event for the server control is passed up the page's UI server control hierarchy.

OnCancelButtonClick(EventArgs) OnCancelButtonClick(EventArgs) OnCancelButtonClick(EventArgs) OnCancelButtonClick(EventArgs)

Raises the CancelButtonClick event.

(Inherited from Wizard)
OnContinueButtonClick(EventArgs) OnContinueButtonClick(EventArgs) OnContinueButtonClick(EventArgs) OnContinueButtonClick(EventArgs)

Raises the ContinueButtonClick event when the user clicks the Continue button on the final user account creation step.

OnCreatedUser(EventArgs) OnCreatedUser(EventArgs) OnCreatedUser(EventArgs) OnCreatedUser(EventArgs)

Raises the CreatedUser event after the membership provider creates the user account.

OnCreateUserError(CreateUserErrorEventArgs) OnCreateUserError(CreateUserErrorEventArgs) OnCreateUserError(CreateUserErrorEventArgs) OnCreateUserError(CreateUserErrorEventArgs)

Raises the CreateUserError event when there is a problem creating the specified user account.

OnCreatingUser(LoginCancelEventArgs) OnCreatingUser(LoginCancelEventArgs) OnCreatingUser(LoginCancelEventArgs) OnCreatingUser(LoginCancelEventArgs)

Raises the CreatingUser event prior to calling the membership provider to create the new user account.

OnDataBinding(EventArgs) OnDataBinding(EventArgs) OnDataBinding(EventArgs) OnDataBinding(EventArgs)

Raises the DataBinding event.

(Inherited from Control)
OnFinishButtonClick(WizardNavigationEventArgs) OnFinishButtonClick(WizardNavigationEventArgs) OnFinishButtonClick(WizardNavigationEventArgs) OnFinishButtonClick(WizardNavigationEventArgs)

Raises the FinishButtonClick event.

(Inherited from Wizard)
OnInit(EventArgs) OnInit(EventArgs) OnInit(EventArgs) OnInit(EventArgs)

Raises the Init event.

(Inherited from Wizard)
OnLoad(EventArgs) OnLoad(EventArgs) OnLoad(EventArgs) OnLoad(EventArgs)

Raises the Load event.

(Inherited from Control)
OnNextButtonClick(WizardNavigationEventArgs) OnNextButtonClick(WizardNavigationEventArgs) OnNextButtonClick(WizardNavigationEventArgs) OnNextButtonClick(WizardNavigationEventArgs)

Raises the NextButtonClick event.

OnPreRender(EventArgs) OnPreRender(EventArgs) OnPreRender(EventArgs) OnPreRender(EventArgs)

Raises the PreRender event.

OnPreviousButtonClick(WizardNavigationEventArgs) OnPreviousButtonClick(WizardNavigationEventArgs) OnPreviousButtonClick(WizardNavigationEventArgs) OnPreviousButtonClick(WizardNavigationEventArgs)

Raises the PreviousButtonClick event.

(Inherited from Wizard)
OnSendingMail(MailMessageEventArgs) OnSendingMail(MailMessageEventArgs) OnSendingMail(MailMessageEventArgs) OnSendingMail(MailMessageEventArgs)

Raises the SendingMail event before an email message is sent to a new user.

OnSendMailError(SendMailErrorEventArgs) OnSendMailError(SendMailErrorEventArgs) OnSendMailError(SendMailErrorEventArgs) OnSendMailError(SendMailErrorEventArgs)

Raises the SendMailError event when email cannot be sent to the new user.

OnSideBarButtonClick(WizardNavigationEventArgs) OnSideBarButtonClick(WizardNavigationEventArgs) OnSideBarButtonClick(WizardNavigationEventArgs) OnSideBarButtonClick(WizardNavigationEventArgs)

Raises the SideBarButtonClick event.

(Inherited from Wizard)
OnUnload(EventArgs) OnUnload(EventArgs) OnUnload(EventArgs) OnUnload(EventArgs)

Raises the Unload event.

(Inherited from Control)
OpenFile(String) OpenFile(String) OpenFile(String) OpenFile(String)

Gets a Stream used to read a file.

(Inherited from Control)
RaiseBubbleEvent(Object, EventArgs) RaiseBubbleEvent(Object, EventArgs) RaiseBubbleEvent(Object, EventArgs) RaiseBubbleEvent(Object, EventArgs)

Assigns any sources of the event and its information to the control's parent.

(Inherited from Control)
RecreateChildControls() RecreateChildControls() RecreateChildControls() RecreateChildControls()

Recreates the child controls in a control derived from CompositeControl.

(Inherited from CompositeControl)
RegisterCommandEvents(IButtonControl) RegisterCommandEvents(IButtonControl) RegisterCommandEvents(IButtonControl) RegisterCommandEvents(IButtonControl)

Registers a new instance of the CommandEventHandler class for the specified IButtonControl object.

(Inherited from Wizard)
RemovedControl(Control) RemovedControl(Control) RemovedControl(Control) RemovedControl(Control)

Called after a child control is removed from the Controls collection of the Control object.

(Inherited from Control)
Render(HtmlTextWriter) Render(HtmlTextWriter) Render(HtmlTextWriter) Render(HtmlTextWriter)

Renders the control to the specified writer.

(Inherited from Wizard)
RenderBeginTag(HtmlTextWriter) RenderBeginTag(HtmlTextWriter) RenderBeginTag(HtmlTextWriter) RenderBeginTag(HtmlTextWriter)

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

(Inherited from WebControl)
RenderChildren(HtmlTextWriter) RenderChildren(HtmlTextWriter) RenderChildren(HtmlTextWriter) RenderChildren(HtmlTextWriter)

Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.

(Inherited from Control)
RenderContents(HtmlTextWriter) RenderContents(HtmlTextWriter) RenderContents(HtmlTextWriter) RenderContents(HtmlTextWriter)

Renders the contents of the control to the specified writer. This method is used primarily by control developers.

(Inherited from WebControl)
RenderControl(HtmlTextWriter) RenderControl(HtmlTextWriter) RenderControl(HtmlTextWriter) RenderControl(HtmlTextWriter)

Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

(Inherited from Control)
RenderControl(HtmlTextWriter, ControlAdapter) RenderControl(HtmlTextWriter, ControlAdapter) RenderControl(HtmlTextWriter, ControlAdapter) RenderControl(HtmlTextWriter, ControlAdapter)

Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.

(Inherited from Control)
RenderEndTag(HtmlTextWriter) RenderEndTag(HtmlTextWriter) RenderEndTag(HtmlTextWriter) RenderEndTag(HtmlTextWriter)

Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

(Inherited from WebControl)
ResolveAdapter() ResolveAdapter() ResolveAdapter() ResolveAdapter()

Gets the control adapter responsible for rendering the specified control.

(Inherited from Control)
ResolveClientUrl(String) ResolveClientUrl(String) ResolveClientUrl(String) ResolveClientUrl(String)

Gets a URL that can be used by the browser.

(Inherited from Control)
ResolveUrl(String) ResolveUrl(String) ResolveUrl(String) ResolveUrl(String)

Converts a URL into one that is usable on the requesting client.

(Inherited from Control)
SaveControlState() SaveControlState() SaveControlState() SaveControlState()

Save the control state.

(Inherited from Wizard)
SaveViewState() SaveViewState() SaveViewState() SaveViewState()

Saves any state that was modified after the TrackViewState() method was invoked.

SetDesignModeState(IDictionary) SetDesignModeState(IDictionary) SetDesignModeState(IDictionary) SetDesignModeState(IDictionary)

Sets design-time data for a control.

SetRenderMethodDelegate(RenderMethod) SetRenderMethodDelegate(RenderMethod) SetRenderMethodDelegate(RenderMethod) SetRenderMethodDelegate(RenderMethod)

Assigns an event handler delegate to render the server control and its content into its parent control.

(Inherited from Control)
SetTraceData(Object, Object) SetTraceData(Object, Object) SetTraceData(Object, Object) SetTraceData(Object, Object)

Sets trace data for design-time tracing of rendering data, using the trace data key and the trace data value.

(Inherited from Control)
SetTraceData(Object, Object, Object) SetTraceData(Object, Object, Object) SetTraceData(Object, Object, Object) SetTraceData(Object, Object, Object)

Sets trace data for design-time tracing of rendering data, using the traced object, the trace data key, and the trace data value.

(Inherited from Control)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
TrackViewState() TrackViewState() TrackViewState() TrackViewState()

Marks the starting point to begin tracking changes to the control as part of the control viewstate.

Events

ActiveStepChanged ActiveStepChanged ActiveStepChanged ActiveStepChanged

Occurs when the user switches to a new step in the control.

(Inherited from Wizard)
CancelButtonClick CancelButtonClick CancelButtonClick CancelButtonClick

Occurs when the Cancel button is clicked.

(Inherited from Wizard)
ContinueButtonClick ContinueButtonClick ContinueButtonClick ContinueButtonClick

Occurs when the user clicks the Continue button in the final user account creation step.

CreatedUser CreatedUser CreatedUser CreatedUser

Occurs after the membership provider has created the new Web site user account.

CreateUserError CreateUserError CreateUserError CreateUserError

Occurs when the membership provider cannot create the specified user account.

CreatingUser CreatingUser CreatingUser CreatingUser

Occurs before the membership provider is called to create the new Web site user account.

DataBinding DataBinding DataBinding DataBinding

Occurs when the server control binds to a data source.

(Inherited from Control)
Disposed Disposed Disposed Disposed

Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.

(Inherited from Control)
FinishButtonClick FinishButtonClick FinishButtonClick FinishButtonClick

Occurs when the Finish button is clicked.

(Inherited from Wizard)
Init Init Init Init

Occurs when the server control is initialized, which is the first step in its lifecycle.

(Inherited from Control)
Load Load Load Load

Occurs when the server control is loaded into the Page object.

(Inherited from Control)
NextButtonClick NextButtonClick NextButtonClick NextButtonClick

Occurs when the Next button is clicked.

(Inherited from Wizard)
PreRender PreRender PreRender PreRender

Occurs after the Control object is loaded but prior to rendering.

(Inherited from Control)
PreviousButtonClick PreviousButtonClick PreviousButtonClick PreviousButtonClick

Occurs when the Previous button is clicked.

(Inherited from Wizard)
SendingMail SendingMail SendingMail SendingMail

Occurs before the user is sent an email confirmation that an account has been created.

SendMailError SendMailError SendMailError SendMailError

Occurs when there is an SMTP error sending email to the new user.

SideBarButtonClick SideBarButtonClick SideBarButtonClick SideBarButtonClick

Occurs when a button in the sidebar area is clicked.

(Inherited from Wizard)
Unload Unload Unload Unload

Occurs when the server control is unloaded from memory.

(Inherited from Control)

Explicit Interface Implementations

IAttributeAccessor.GetAttribute(String) IAttributeAccessor.GetAttribute(String) IAttributeAccessor.GetAttribute(String) IAttributeAccessor.GetAttribute(String)

Gets an attribute of the Web control with the specified name.

(Inherited from WebControl)
IAttributeAccessor.SetAttribute(String, String) IAttributeAccessor.SetAttribute(String, String) IAttributeAccessor.SetAttribute(String, String) IAttributeAccessor.SetAttribute(String, String)

Sets an attribute of the Web control to the specified name and value.

(Inherited from WebControl)
ICompositeControlDesignerAccessor.RecreateChildControls() ICompositeControlDesignerAccessor.RecreateChildControls() ICompositeControlDesignerAccessor.RecreateChildControls() ICompositeControlDesignerAccessor.RecreateChildControls()

Enables a designer to recreate the composite control's collection of child controls in the design-time environment.

(Inherited from CompositeControl)
IControlDesignerAccessor.GetDesignModeState() IControlDesignerAccessor.GetDesignModeState() IControlDesignerAccessor.GetDesignModeState() IControlDesignerAccessor.GetDesignModeState()

For a description of this member, see GetDesignModeState().

(Inherited from Control)
IControlDesignerAccessor.SetDesignModeState(IDictionary) IControlDesignerAccessor.SetDesignModeState(IDictionary) IControlDesignerAccessor.SetDesignModeState(IDictionary) IControlDesignerAccessor.SetDesignModeState(IDictionary)

For a description of this member, see SetDesignModeState(IDictionary).

(Inherited from Control)
IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control)

For a description of this member, see SetOwnerControl(Control).

(Inherited from Control)
IParserAccessor.AddParsedSubObject(Object) IParserAccessor.AddParsedSubObject(Object) IParserAccessor.AddParsedSubObject(Object) IParserAccessor.AddParsedSubObject(Object)

For a description of this member, see AddParsedSubObject(Object).

(Inherited from Control)

Extension Methods

FindDataSourceControl(Control) FindDataSourceControl(Control) FindDataSourceControl(Control) FindDataSourceControl(Control)

Returns the data source that is associated with the data control for the specified control.

FindFieldTemplate(Control, String) FindFieldTemplate(Control, String) FindFieldTemplate(Control, String) FindFieldTemplate(Control, String)

Returns the field template for the specified column in the specified control's naming container.

FindMetaTable(Control) FindMetaTable(Control) FindMetaTable(Control) FindMetaTable(Control)

Returns the metatable object for the containing data control.

GetDefaultValues(INamingContainer) GetDefaultValues(INamingContainer) GetDefaultValues(INamingContainer) GetDefaultValues(INamingContainer)

Gets the collection of the default values for the specified data control.

GetMetaTable(INamingContainer) GetMetaTable(INamingContainer) GetMetaTable(INamingContainer) GetMetaTable(INamingContainer)

Gets the table metadata for the specified data control.

SetMetaTable(INamingContainer, MetaTable) SetMetaTable(INamingContainer, MetaTable) SetMetaTable(INamingContainer, MetaTable) SetMetaTable(INamingContainer, MetaTable)

Sets the table metadata for the specified data control.

SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>) SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>) SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>) SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>)

Sets the table metadata and default value mapping for the specified data control.

SetMetaTable(INamingContainer, MetaTable, Object) SetMetaTable(INamingContainer, MetaTable, Object) SetMetaTable(INamingContainer, MetaTable, Object) SetMetaTable(INamingContainer, MetaTable, Object)

Sets the table metadata and default value mapping for the specified data control.

EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>) EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>) EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>) EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object)

Enables Dynamic Data behavior for the specified data control.

Applies to

See Also