Intersoft WebInput Documentation
ErrorMessage Property
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > FormatValidatorInfo Class : ErrorMessage Property






Glossary Item Box

Specifies error message text.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DescriptionAttribute("Specifies error message text.")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
Public Overridable Property ErrorMessage As System.String
Visual Basic (Usage)Copy Code
Dim instance As FormatValidatorInfo
Dim value As System.String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies error message text.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public virtual System.string ErrorMessage {get; set;}
Delphi 
public read-write property ErrorMessage: System.String; virtual; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.DescriptionAttribute("Specifies error message text.")
System.ComponentModel.NotifyParentPropertyAttribute()
public function get,set ErrorMessage : System.String
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies error message text.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public: __property virtual System.string* get_ErrorMessage();
public: __property virtual void set_ErrorMessage( 
   System.string* value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies error message text.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public:
virtual property System.String^ ErrorMessage {
   System.String^ get();
   void set (    System.String^ value);
}

Remarks

The validation mechanism works when you use WebInput.NET with formatting for datetime data or number data. If the inputted data is invalid and user try to submit the page, the error message will be displayed in ASP.NET ValidationSummary control.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2013 Intersoft Solutions Corp. All Rights Reserved.