Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > IsValid |
Returns whether the last value the user typed is valid.
[JavaScript]
FpSpread1.IsValid();
None
Bool, whether value is valid
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.
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> |