Spread for ASP.NET 11 Product Documentation
IsValid
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > IsValid

Returns whether the last value the user typed is valid.

Syntax

[JavaScript]

FpSpread1.IsValid();

Parameters

None

Return Type

Bool, whether value is valid

Remarks

This method can be used to see if the last value the user typed is valid. This method does not cause a postback to occur.

Example

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

JavaScript
Copy Code
<script type="text/javascript">
   function getHValue() {
       var ss = document.getElementById("FpSpread1");
       var stopedit = ss.IsValid();
   }
</script>
See Also