Edit this page

cancelInsert

Method which fires the CancelInsert command for the respective RadListView object.

function cancelInsert()
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function CancelNewItemInsertion() {
            var listView = $find("<%= RadListView1.ClientID %>");
            listView.cancelInsert();
        } 
    </script>
</telerik:RadCodeBlock>