Edit this page

deleteItem

Method which fires the Delete command for the RadListView item corresponding to the index passed as an argument in edit mode.

function deleteItem(index)
index Integer The item corresponding to the index will be deleted.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function DeleteFirstItem() {
            var listView = $find("<%= RadListView1.ClientID %>");
            listView.deleteItem(0);
        } 
    </script>
</telerik:RadCodeBlock>
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy