Gets or sets the template used to display the UserName view of the System.Web.UI.WebControls.PasswordRecovery control.
Documentation for this section has not yet been entered.
The PasswordRecovery.UserNameTemplate property contains the template that defines the appearance of the System.Web.UI.WebControls.PasswordRecovery control in UserName view.
The following table lists the required and optional controls used in the UserName view template.
UserName |
Any control that implements System.Web.UI.IEditableTextControl. |
Optional |
Submit |
Any control that causes event bubbling. |
Optional |
The Submit control can be any control that causes event bubbling, such as System.Web.UI.WebControls.Button, System.Web.UI.WebControls.LinkButton, or System.Web.UI.WebControls.ImageButton. The control's CommandName property must be set to "Submit".
The System.Web.UI.WebControls.PasswordRecovery control throws an System.Web.HttpException exception if the UserName view does not contain the required controls. No exception is thrown if you give an optional control ID to a control of the wrong type; however, the control is subsequently ignored by the System.Web.UI.WebControls.PasswordRecovery control.
When you use a template to define the appearance of the UserName view, only the following properties affect the behavior of the control:
All properties inherited from System.Web.UI.WebControls.WebControl (see the System.Web.UI.WebControls.PasswordRecovery control members table).
All other properties are inactive when you use a template for the UserName view of the System.Web.UI.WebControls.PasswordRecovery control.