Edit

Share via


CreateUserWizard.InvalidEmailErrorMessage Property

Definition

Gets or sets the message displayed when the entered email address is not valid.

public:
 virtual property System::String ^ InvalidEmailErrorMessage { System::String ^ get(); void set(System::String ^ value); };
public virtual string InvalidEmailErrorMessage { get; set; }
member this.InvalidEmailErrorMessage : string with get, set
Public Overridable Property InvalidEmailErrorMessage As String

Property Value

The message displayed when the email address entered is not valid. The default is "Please enter a valid email address." The default text for the control is localized based on the server's current locale.

Remarks

The Membership class membership provider specified in the MembershipProvider property can restrict the email addresses that it will accept. The InvalidEmailErrorMessage property is displayed when the email address entered by the user does not meet the requirements for the email address set by the membership provider. The actual requirements for the email address are determined by the membership provider, and might be different for different providers.

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 Globalization and Localization.

Applies to

See also