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

editItem

Method which switches the RadListView item corresponding to the index passed as an argument in edit mode.

function editItem(index)
index Integer The item corresponding to the index will be switched in edit mode.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function EditFirstItem() {
            var listView = $find("<%= RadListView1.ClientID %>");
            listView.editItem(0);
        } 
    </script>
</telerik:RadCodeBlock>
In this article