Gets or sets the template used to display the Question view of the System.Web.UI.WebControls.PasswordRecovery control.
Documentation for this section has not yet been entered.
The PasswordRecovery.QuestionTemplate property contains the template that defines the appearance of the System.Web.UI.WebControls.PasswordRecovery control in Question view.
The following table lists the required and optional controls used in the Question view template.
Answer |
Any control that implements System.Web.UI.IEditableTextControl. |
Required |
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 command name property must be set to "Submit".
The System.Web.UI.WebControls.PasswordRecovery control throws an System.Web.HttpException exception if the Question 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 Question view, only the following properties affect the behavior of the control:
All properties inherited from System.Web.UI.WebControls.WebControl (for details, see the System.Web.UI.WebControls.PasswordRecovery control members table).
All other properties are inactive when you use a template for the Question view.