ChangePassword.SuccessTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the ITemplate object that is used to display the Success and Change Password views of the ChangePassword control.
public:
virtual property System::Web::UI::ITemplate ^ SuccessTemplate { System::Web::UI::ITemplate ^ get(); void set(System::Web::UI::ITemplate ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.Web.UI.TemplateContainer(typeof(System.Web.UI.WebControls.ChangePassword))]
public virtual System.Web.UI.ITemplate SuccessTemplate { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
[<System.Web.UI.TemplateContainer(typeof(System.Web.UI.WebControls.ChangePassword))>]
member this.SuccessTemplate : System.Web.UI.ITemplate with get, set
Public Overridable Property SuccessTemplate As ITemplate
Property Value
An ITemplate object that contains the template for displaying the Success and Change Password views of the ChangePassword control. The default is null
.
- Attributes
Remarks
The SuccessTemplate property specifies the ITemplate object that is used by the ChangePassword control. The SuccessTemplate property is accessible only when using a code-behind file. For more information, see How To: Create ASP.NET Web Server Control Templates Dynamically.
A template is a set of HTML elements and controls that make up the layout for a particular portion of a control. Templates differ from styles:
Templates define the content of a section of a control.
Styles specify the appearance of elements in the control.
For more information, see Web Server Controls Templates and ASP.NET Themes and Skins.
The ChangePassword control supports the following templates, which are applied to the corresponding control view.
Template name | Control view |
---|---|
ChangePasswordTemplate | Change Password view |
SuccessTemplate | Success view |
You can also create or modify the template for a control in your .aspx file. For more information, see How to: Create ASP.NET Web Control Templates Declaratively.
Applies to
See also
- ChangePasswordTemplate
- ASP.NET Login Controls Overview
- Customizing Appearance and Behavior of the ASP.NET Login Controls
- ASP.NET Web Server Controls Templates
- ASP.NET Themes and Skins Overview
- How To: Create ASP.NET Web Server Control Templates Dynamically
- How to: Create ASP.NET Web Control Templates Declaratively
- How to: Display Different Information to Anonymous and Logged In Users
- Web Site Administration Tool Security Tab