System.Web.UI.WebControls.ChangePassword Members

The members of System.Web.UI.WebControls.ChangePassword are listed below.

See Also: Inherited members from System.Web.UI.WebControls.CompositeControl

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.ChangePassword class.

Public Fields

static readonly
CancelButtonCommandNamestring.

Represents the CommandName value of the Cancel button. This field is read-only.

static readonly
ChangePasswordButtonCommandNamestring.

Represents the CommandName value of the Change Password button. This field is read-only.

static readonly
ContinueButtonCommandNamestring.

Represents CommandName value of the Continue button. This field is read-only.

Public Properties

BorderPaddingint.

Gets or sets the amount of padding, in pixels, inside the border and the designated area for the System.Web.UI.WebControls.ChangePassword control.

CancelButtonImageUrlstring.

Gets or sets the URL of an image to display with the Cancel button, if the Cancel button is configured by the ChangePassword.CancelButtonType property to be an image button.

[read-only]
CancelButtonStyleStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of the Cancel button on the System.Web.UI.WebControls.ChangePassword control.

CancelButtonTextstring.

Gets or sets the text displayed on the Cancel button.

CancelButtonTypeButtonType.

Gets or sets the type of button to use for the Cancel button when rendering the System.Web.UI.WebControls.ChangePassword control.

CancelDestinationPageUrlstring.

Gets or sets the URL of the page that the user is shown after clicking the Cancel button in the System.Web.UI.WebControls.ChangePassword control.

ChangePasswordButtonImageUrlstring.

Gets or sets the URL of an image displayed next to the Change Password button on the System.Web.UI.WebControls.ChangePassword control if the Change Password button is configured by the ChangePassword.ChangePasswordButtonType property to be an image button.

[read-only]
ChangePasswordButtonStyleStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of the Change Password button on the System.Web.UI.WebControls.ChangePassword control.

ChangePasswordButtonTextstring.

Gets or sets the text displayed on the Change Password button.

ChangePasswordButtonTypeButtonType.

Gets or sets the type of button to use when rendering the Change Password button of the System.Web.UI.WebControls.ChangePassword control.

ChangePasswordFailureTextstring.

Gets or sets the message that is shown when the user's password is not changed.

ChangePasswordTemplateSystem.Web.UI.ITemplate.

Gets or sets the System.Web.UI.ITemplate object used to display the Change Password view of the System.Web.UI.WebControls.ChangePassword control.

[read-only]
ChangePasswordTemplateContainerSystem.Web.UI.Control.

Gets the container that a System.Web.UI.WebControls.ChangePassword control uses to create an instance of the ChangePassword.ChangePasswordTemplate template. This provides programmatic access to child controls.

ChangePasswordTitleTextstring.

Gets or sets the text displayed at the top of the System.Web.UI.WebControls.ChangePassword control in Change Password view.

[read-only]
ConfirmNewPasswordstring.

Gets the duplicate password entered by the user.

ConfirmNewPasswordLabelTextstring.

Gets or sets the label text for the ChangePassword.ConfirmNewPassword text box.

ConfirmPasswordCompareErrorMessagestring.

Gets or sets the message that is displayed when the new password and the duplicate password entered by the user are not identical.

ConfirmPasswordRequiredErrorMessagestring.

Gets or sets the error message that is displayed when the Confirm New Password text box is left empty.

ContinueButtonImageUrlstring.

Gets or sets the URL of an image to use for the Continue button on the Success view of the System.Web.UI.WebControls.ChangePassword control if the Continue button is configured by the ChangePassword.ContinueButtonType property to be an image button.

[read-only]
ContinueButtonStyleStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of the Continue button on the Success view of the System.Web.UI.WebControls.ChangePassword control.

ContinueButtonTextstring.

Gets or sets the text that is displayed on the Continue button on the Success view of the System.Web.UI.WebControls.ChangePassword control.

ContinueButtonTypeButtonType.

Gets or sets the type of button to use when rendering the Continue button for the System.Web.UI.WebControls.ChangePassword control.

ContinueDestinationPageUrlstring.

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

CreateUserIconUrlstring.

Gets or sets the URL of an image to display next to the link to the Web page that contains a System.Web.UI.WebControls.CreateUserWizard control for the Web site.

CreateUserTextstring.

Gets or sets the text of the link to the Web page that contains a System.Web.UI.WebControls.CreateUserWizard control for the Web site.

CreateUserUrlstring.

Gets or sets the URL of the Web page that contains a System.Web.UI.WebControls.CreateUserWizard control for the Web site.

[read-only]
CurrentPasswordstring.

Gets the current password for the user.

DisplayUserNamebool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.ChangePassword control should display the ChangePassword.UserName control and label.

EditProfileIconUrlstring.

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

EditProfileTextstring.

Gets or sets the text of the link to the user profile editing page for the Web site.

EditProfileUrlstring.

Gets or sets the URL of the user profile editing page for the Web site.

[read-only]
FailureTextStyleTableItemStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of error messages on the System.Web.UI.WebControls.ChangePassword control.

HelpPageIconUrlstring.

Gets or sets the URL of an image to display next to the Change Password help page for the Web site.

HelpPageTextstring.

Gets or sets the link text to the Change Password help page for the Web site.

HelpPageUrlstring.

Gets or sets the URL of the Change Password help page for the Web site.

[read-only]
HyperLinkStyleTableItemStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of hyperlinks on the System.Web.UI.WebControls.ChangePassword control.

InstructionTextstring.

Gets or sets informational text that appears on the System.Web.UI.WebControls.ChangePassword control between the ChangePassword.ChangePasswordTitleText and the input boxes.

[read-only]
InstructionTextStyleTableItemStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of the instructional text on the System.Web.UI.WebControls.ChangePassword control.

[read-only]
LabelStyleTableItemStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style objects that define the appearance of text box labels on the System.Web.UI.WebControls.ChangePassword control.

[read-only]
MailDefinitionMailDefinition.

Gets a reference to a collection of properties that define the e-mail message that is sent to users after they have changed their password.

MembershipProviderstring.

Gets or sets the membership provider that is used to manage member information.

[read-only]
NewPasswordstring.

Gets the new password entered by the user.

NewPasswordLabelTextstring.

Gets or sets the label text for the New Password text box.

NewPasswordRegularExpressionstring.

Gets or sets the regular expression that is used to validate the password provided by the user.

NewPasswordRegularExpressionErrorMessagestring.

Gets or sets the error message that is shown when the password entered does not pass the regular expression criteria defined in the ChangePassword.NewPasswordRegularExpression property.

NewPasswordRequiredErrorMessagestring.

Gets or sets the error message that is displayed when the user leaves the New Password text box empty.

[read-only]
PasswordHintStyleTableItemStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of hint text that appears on the System.Web.UI.WebControls.ChangePassword control.

PasswordHintTextstring.

Gets or sets informational text about the requirements for creating a password for the Web site.

PasswordLabelTextstring.

Gets or sets the label text for the Current Password text box.

PasswordRecoveryIconUrlstring.

Gets or sets the URL of an image to display next to a link to the Web page that contains the System.Web.UI.WebControls.PasswordRecovery control.

PasswordRecoveryTextstring.

Gets or sets the text of the link to the Web page that contains the System.Web.UI.WebControls.PasswordRecovery control.

PasswordRecoveryUrlstring.

Gets or sets the URL of the Web page that contains the System.Web.UI.WebControls.PasswordRecovery control.

PasswordRequiredErrorMessagestring.

Gets or sets the error message that is displayed when the user leaves the Current Password text box empty.

SuccessPageUrlstring.

Gets or sets the URL of the page that is shown to users after they have changed their password successfully.

SuccessTemplateSystem.Web.UI.ITemplate.

Gets or sets the System.Web.UI.ITemplate object that is used to display the Success and Change Password views of the System.Web.UI.WebControls.ChangePassword control.

[read-only]
SuccessTemplateContainerSystem.Web.UI.Control.

Gets the container that a System.Web.UI.WebControls.ChangePassword control used to create an instance of the ChangePassword.SuccessTemplate template. This provides programmatic access to child controls.

SuccessTextstring.

Gets or sets the text that is displayed on the Success view between the ChangePassword.SuccessTitleText and the Continue button.

[read-only]
SuccessTextStyleTableItemStyle.

Gets a collection of System.Web.UI.WebControls.Style properties that define the appearance of text on the Success view.

SuccessTitleTextstring.

Gets or sets the title of the Success view.

[read-only]
TextBoxStyleStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of text box controls on the System.Web.UI.WebControls.ChangePassword control.

[read-only]
TitleTextStyleTableItemStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of titles on the System.Web.UI.WebControls.ChangePassword control.

UserNamestring.

Gets or sets the Web site user name for which to change the password.

UserNameLabelTextstring.

Gets or sets the label for the User Name text box.

UserNameRequiredErrorMessagestring.

Gets or sets the error message that is displayed when the user leaves the User Name text box empty.

[read-only]
ValidatorTextStyleStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of error messages that are associated with any input validation used by the System.Web.UI.WebControls.ChangePassword control.

Protected Properties

[read-only]
override
TagKeySystem.Web.UI.HtmlTextWriterTag.

Gets the System.Web.UI.HtmlTextWriterTag value that corresponds to a System.Web.UI.WebControls.ChangePassword control. This property is used primarily by control developers.

Protected Methods

override
CreateChildControls()

Creates the individual controls that make up the System.Web.UI.WebControls.ChangePassword control in preparation for posting back or rendering.

override
LoadControlState(object)

Restores control state information from a previous page request that was saved by the ChangePassword.SaveControlState method.

override
LoadViewState(object)

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

override
OnBubbleEvent(object, EventArgs) : bool

Determines whether the event for the System.Web.UI.WebControls.ChangePassword control is passed up the Web server control hierarchy for the page.

OnCancelButtonClick(EventArgs)

Raises the ChangePassword.CancelButtonClick event when a user clicks the Cancel button.

OnChangedPassword(EventArgs)

Raises the ChangePassword.ChangedPassword event after the password is changed.

OnChangePasswordError(EventArgs)

Raises the ChangePassword.ChangePasswordError event when the user's password is not changed.

OnChangingPassword(LoginCancelEventArgs)

Raises the ChangePassword.ChangingPassword event before the user's password is changed by the membership provider.

OnContinueButtonClick(EventArgs)

Raises the ChangePassword.ContinueButtonClick event when a user clicks the Continue button.

override
OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event for the System.Web.UI.WebControls.ChangePassword control to allow the control to register itself with the page.

override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event.

OnSendingMail(MailMessageEventArgs)

Raises the ChangePassword.SendingMail event before an e-mail message is sent to the SMTP server for processing. The SMTP server then sends the e-mail message to the user.

OnSendMailError(SendMailErrorEventArgs)

Raises the ChangePassword.SendMailError event when an e-mail message cannot be sent to the user.

override
Render(System.Web.UI.HtmlTextWriter)

Writes the System.Web.UI.WebControls.ChangePassword control content to the specified System.Web.UI.HtmlTextWriter object, for display on the client.

override
SaveControlState() : object

Saves any server control state changes that have occurred since the time the page was posted back to the server.

override
SaveViewState() : object

Saves any server control view state changes that have occurred since the time the page was posted back to the server.

override
SetDesignModeState(IDictionary)

Sets design-time data for a control.

override
TrackViewState()

Causes tracking of view-state changes to the server control so that they can be stored in the server control's System.Web.UI.StateBag object. This object is accessible through the System.Web.UI.Control.ViewState property.

Public Events

CancelButtonClick

Occurs when the user clicks the Cancel button to cancel changing a password.

ChangedPassword

Occurs when the password is changed for a user account.

ChangePasswordError

Occurs when there is an error changing the password for the user account.

ChangingPassword

Occurs before the password for a user account is changed by the membership provider.

ContinueButtonClick

Raises the ChangePassword.ContinueButtonClick event when the user clicks the Continue button.

SendingMail

Occurs before the user is sent an e-mail confirmation that the password has been changed.

SendMailError

Occurs when there is an SMTP error sending an e-mail message to the user.