Spread for ASP.NET 12 Product Documentation
ErrorMessageShown
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Events > ErrorMessageShown

Occurs when an error message is displayed on the client side.

Syntax

[Inline HTML]

<ELEMENT ErrorMessageShown = "handler" ...>

[JavaScript]

FpSpread1.addEventListener("ErrorMessageShown", handler, ...)

or

FpSpread1.onErrorMessageShown = handler

Arguments

event.spread
Spread control that raises the event
event.row
Row coordinate of the cell with the error message
event.col
Column coordinate of the cell with the error message
event.isValid
Whether the editing value is valid
event.errorMessage
Error message

Return Type

None

Remarks

This event is triggered when an error message is displayed on the client side.

Example

This is a sample that contains the event. On the client side, the script that contains the event would look like this:

JavaScript
Copy Code
<script type="text/javascript">
   function error(event) {
    alert("error");
   }
</script>
See Also