Spread ASP.NET 6.0 Product Documentation
Cancel
Send Feedback
Spread ASP.NET 6.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Cancel

Glossary Item Box

Cancels the changes since the most recent postback.

Syntax

[JavaScript]

FpSpread1.Cancel();

Parameters

None

Return Type

None

Remarks

This method is similar to pressing the Cancel button on the command bar. This method causes 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 language=javascript>
   function onCancelButtonClick() { 
       FpSpread1.Cancel(); // cancels the changes
   } 
</SCRIPT>

See Also

Update | UpdatePostBackData | Scripting Members

© 2002-2012 GrapeCity, Inc. All Rights Reserved.