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


Returns a Boolean value indicating if the GridTableView is currently in insert mode. Can be used to create some condition for executing different script logic depending on the visibility status of the insert item.

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" AllowPaging="True"
    <MasterTableView DataKeyNames="OrderID" CommandItemDisplay="Top">
<br />
<asp:Button ID="Button1" runat="server" Text="Click"
    OnClientClick="buttonClick(); return false;" />
function buttonClick() {
    var grid = $find('<%= RadGrid1.ClientID %>');
    var masterTableView = grid.get_masterTableView();

    if (masterTableView.get_isItemInserted()) {
        alert("The Insert form is open.");
In this article