Spread ASP.NET 6.0 Product Documentation
CancelEdit Method
See Also  Example Send Feedback
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
privatevoidbtnCancelEdit_Click(objectsender,EventArgse)
{
//ThismethodhasthesameeffectasclickingtheCancelbuttonintheFpSpreadcommandbar
FpSpread1.CancelEdit();
}
Visual BasicCopy Code
PrivateSubbtnCancelEdit_Click(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs)
'ThismethodhasthesameeffectasclickingtheCancelbuttonintheFpSpreadcommandbar
FpSpread1.CancelEdit()
EndSub

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

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