Spread for ASP.NET 7.0 Product Documentation
onErrorMessageShown
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Events > onErrorMessageShown

Glossary Item Box

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 language=javascript>
   function error() {
    alert("error");
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.