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

showInsertItem

Method which fires the InitInsert command for the respective RadListView object. As a result of its call the RadListView insert item is displayed as first or last item.

function showInsertItem(RadListViewInsertItemPosition)
RadListViewInsertItemPosition Integer or String.Empty The insert item will be displayed at the corresponding position.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function OpenInsertItemAsFirstItem() {
            var listView = $find("<%= RadListView1.ClientID %>");
            listView.showInsertItem(1);
        }
        function OpenInsertItemAsLastItem() {
            var listView = $find("<%= RadListView1.ClientID %>");
            listView.showInsertItem(0);
        } 
    </script>
</telerik:RadCodeBlock>
In this article