PasswordRecovery::SuccessTemplate Property

 

Gets or sets the template used to display the Success view of the PasswordRecovery control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
[BrowsableAttribute(false)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
[TemplateContainerAttribute((PasswordRecovery^::typeid))]
property ITemplate^ SuccessTemplate {
	virtual ITemplate^ get();
	virtual void set(ITemplate^ value);
}

Property Value

Type: System.Web.UI::ITemplate^

An ITemplate that contains the template for displaying the PasswordRecovery control in Success view. The default is null.

The SuccessTemplate property contains the template that defines the appearance of the PasswordRecovery control in Success view.

There are no required or optional fields for the PasswordRecovery Success view template.

When you use a template to define the appearance of the Success view, only the following properties affect the behavior of the control:

All other properties are inactive when you use a template for the Success view of the PasswordRecovery control.

The following code example shows the default template for the Success view.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: