RadControls for ASP.NET AJAX Cancels the edit mode for all grid items that are switched in edit mode prior to the method call.
Example:
CopyJavaScript
function CancelEditMode() {
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
masterTable.cancelAll();
}