BaseValidator::ErrorMessage Property
.NET Framework (current version)
Gets or sets the text that will be used for the error message. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: [BindableAttribute(true)] property String^ ErrorMessage { virtual String^ get() sealed; virtual void set(String^ value) sealed; }
Implements
IValidator::ErrorMessageThis property is used in two ways. First, if there is no value for the Display property, the value of the ErrorMessage property is used in its place. Second, when the ValidationSummary control is used, the summary uses the value of the ErrorMessage property for each validator that represents an invalid control.
.NET Framework
Available since 1.1
Available since 1.1
Show: