Spread for ASP.NET 9.0 Product Documentation
onErrorMessageShown

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

Syntax

[Inline HTML]

<ELEMENT onErrorMessageShown = "handler" ...>

[Event Property]

FpSpread1.onErrorMessageShown = handler

[Named Script]

<SCRIPT FOR=FpSpread1 EVENT=onErrorMessageShown>

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

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback