System.Web.UI.WebControls.ChangePassword.SuccessTemplate Property

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.

Syntax

[System.ComponentModel.Browsable(false)]
[System.Web.UI.TemplateContainer(typeof(System.Web.UI.WebControls.ChangePassword))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public virtual System.Web.UI.ITemplate SuccessTemplate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ChangePassword.SuccessTemplate property specifies the System.Web.UI.ITemplate object that is used by the System.Web.UI.WebControls.ChangePassword control. The ChangePassword.SuccessTemplate property is accessible only when using a code-behind file. For more information, see Creating 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 ASP.NET Web Server Controls Templates and Introduction to ASP.NET Themes.

The System.Web.UI.WebControls.ChangePassword control supports the following templates, which are applied to the corresponding control view.

ChangePassword.ChangePasswordTemplate

Change Password view

ChangePassword.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 Web Server Control Templates Using ASP.NET Syntax.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0