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


Returns a Boolean value, indicating whether the GridDataItem is in edit mode or not. Can be used to create a condition to execute script logic depending on the item status.

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" AllowPaging="True"
    OnNeedDataSource="RadGrid1_NeedDataSource" AutoGenerateEditColumn="true">
        <ClientEvents OnRowCreated="rowCreated" />
    <MasterTableView DataKeyNames="OrderID">
function rowCreated(sender, args) {
    var item = args.get_item();
    if (item.get_isInEditMode()) {
        alert("Record " + item.get_itemIndex() + " is in edit mode.");
In this article