BaseValidator.ErrorMessage Property
.NET Framework 2.0
Gets or sets the text that will be used for the error message. The default value is Empty.
Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)
Assembly: System.Web.Mobile (in system.web.mobile.dll)
[BindableAttribute(true)] public: virtual property String^ ErrorMessage { String^ get () sealed; void set (String^ value) sealed; }
/** @property */ public final String get_ErrorMessage () /** @property */ public final void set_ErrorMessage (String value)
public final function get ErrorMessage () : String public final function set ErrorMessage (value : String)
Property Value
The text that will be used for the error message.This 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.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: