ChangePassword.SuccessTemplate Property
Assembly: System.Web (in system.web.dll)
'Declaration <TemplateContainerAttribute(GetType(ChangePassword))> _ Public Overridable Property SuccessTemplate As ITemplate 'Usage Dim instance As ChangePassword Dim value As ITemplate value = instance.SuccessTemplate instance.SuccessTemplate = value
/** @property */ public ITemplate get_SuccessTemplate () /** @property */ public void set_SuccessTemplate (ITemplate value)
public function get SuccessTemplate () : ITemplate public function set SuccessTemplate (value : ITemplate)
Not applicable.
Property Value
An ITemplate object that contains the template for displaying the Success and Change Password views of the ChangePassword control. The default is a null reference (Nothing in Visual Basic).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 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 (Visual Studio) and Introduction to ASP.NET Themes.
The ChangePassword control supports the following templates, which are applied to the corresponding control view.
| Template name | Control view |
|---|---|
| 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 Web Server Control Templates Using ASP.NET Syntax.
Reference
ChangePassword ClassChangePassword Members
System.Web.UI.WebControls Namespace
ChangePassword.ChangePasswordTemplate Property
Other Resources
ASP.NET Login Controls OverviewCustomizing the Appearance of ASP.NET Login Controls
Web Server Controls Templates (Visual Studio)
Introduction to ASP.NET Themes
How to: Create Web Server Control Templates Dynamically
How to: Create Web Server Control Templates Using ASP.NET Syntax
How to: Display Information to Anonymous and Logged-In Users
Web Site Administration Tool Security Tab