CreateUserWizard::Question Property
Gets or sets the password recovery confirmation question entered by the user.
Assembly: System.Web (in System.Web.dll)
public: [ThemeableAttribute(false)] property String^ Question { virtual String^ get(); virtual void set(String^ value); }
Property Value
Type: System::String^The password recovery confirmation question entered by the user. The default value is an empty string ("").
The membership provider specified in the MembershipProvider property will determine whether the Question and Answer text boxes are displayed at run time. Each text box displayed on the CreateUserWizard control has a RequiredFieldValidator associated with it.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.
The following code example modifies the e-mail message in the SendingMail event to include the user's password recovery confirmation question in the message sent to new users.
Available since 2.0