Spread for ASP.NET 11 Product Documentation
CancelEdit Method (FpSpread)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : CancelEdit Method
Discards the editing values in the Spread component.
Syntax
'Declaration
 
Public Sub CancelEdit() 
'Usage
 
Dim instance As FpSpread
 
instance.CancelEdit()
public void CancelEdit()
Example
This example cancels editing, discarding edited values and reverting back to the original values.
private void btnCancelEdit_Click(object sender, EventArgs e)
{
//This method has the same effect as clicking the Cancel button in the FpSpread commandbar
FpSpread1.CancelEdit();
}
Private Sub btnCancelEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
'This method has the same effect as clicking the Cancel button in the FpSpread commandbar
FpSpread1.CancelEdit()
End Sub
See Also

Reference

FpSpread Class
FpSpread Members