ChangePassword.ChangePasswordButtonCommandName Field
Assembly: System.Web (in system.web.dll)
Use the ChangePasswordButtonCommandName field to represent the CommandName value of the Change Password button. This is useful when configuring any button to mimic the functionality of the Change Password button of the ChangePassword control. The Change Password button completes the last step in the ChangePassword control.
To assign change-password functionality to any Button control contained in the ChangePassword control, set the CommandName property of the button to the string that is contained in the ChangePasswordButtonCommandName field.
The Change Password button can appear on the ChangePassword template or the Success template. In both cases, clicking the Change Password button calls the membership provider to change the password. To add custom functionality to the Change Password button, create an event handler for the ChangedPassword event.
Reference
ChangePassword ClassChangePassword Members
System.Web.UI.WebControls Namespace
ContinueButtonCommandName
CancelButtonCommandName
ChangePasswordTemplate
SuccessTemplate
ChangingPassword
ChangedPassword
Other Resources
How to: Create Templated ASP.NET User ControlsTemplated Server Control and Designer Sample
How to: Locate Child Controls by ID in an ASP.NET Web Page