New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

cancelUpdate

Method which cancels the update for the RadListView item corresponding to the index passed as an argument.

function cancelUpdate(index)
index Integer The edited item corresponding to the index update will be canceled.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function CancelUpdateForFirstItem() {
            var listView = $find("<%= RadListView1.ClientID %>");
            listView.cancelUpdate(0);
        } 
    </script>
</telerik:RadCodeBlock>
In this article