Spread for ASP.NET 7.0 Product Documentation
CancelEdit Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : CancelEdit Method


Glossary Item Box

Discards the editing values in the Spread component.

Syntax

Visual Basic (Declaration) 
Public Sub CancelEdit() 
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
 
instance.CancelEdit()
C# 
public void CancelEdit()

Example

This example cancels editing, discarding edited values and reverting back to the original values.
C#Copy Code
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();
}
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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