OnDataError


Function

 

This event occurs when an input value error occurs.  

 

Format

 

dncTextBox1_OnDataError(object sender, TextBoxDataErrorEventArgs e)

 

Parameters

 

sender [ C#: object ] [ VB.NET: object ]

Event source.

 

e [ C#:TextBoxDataErrorEventArgs ] [ VB.NET:TextBoxDataErrorEventArgs  ]

Event arguments. Details are shown below.

 

Event argument

 

Arguments

C# Type

VB.NET Type

Description

Error

TextBoxDataError

TextBoxDataError

Error factors

Text

string

String

Error factor character string

 

Type definition

 

TextBoxDataError

Value

Enumeration member

Description

0

Length

Maximum number of characters

1

Allow

Allowed characters

2

Prohibited

Prohibited characters

3

Invalid

Invalid character

4

Min

Minimum value

5

Max

Maximum value

 

Remarks

 

This event occurs when an input value error occurs.