title: How to provide AutoSave functionality in Telerik RadGrid?
body: <p>I am using a <code>Telerik RadGrid</code> with <em>Batch Edit</em> functionality. I am trying to implement Auto Save functionality. I have added my code below</p>
  
  <pre><code>&lt;form id="form1" runat="server"&gt;
           &lt;div id="Demo"&gt;
          &lt;telerik:RadListBox RenderMode="Lightweight" runat="server" ID="SavedChangesList" Width="600px" Height="200px" Visible="false"&gt;&lt;/telerik:RadListBox&gt;
          &lt;telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True"
              AllowAutomaticInserts="True" PageSize="10" OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted"
              OnItemUpdated="RadGrid1_ItemUpdated" OnPreRender="RadGrid1_PreRender" AllowAutomaticUpdates="True" AllowPaging="True"
              AutoGenerateColumns="False" OnBatchEditCommand="RadGrid1_BatchEditCommand" DataSourceID="SqlDataSource1"&gt;
              &lt;MasterTableView CommandItemDisplay="TopAndBottom" DataKeyNames="ID"
                  DataSourceID="SqlDataSource1" HorizontalAlign="NotSet" EditMode="Batch" AutoGenerateColumns="False"&gt;
                  &lt;BatchEditingSettings EditType="Cell" /&gt;
                  &lt;SortExpressions&gt;
                      &lt;telerik:GridSortExpression FieldName="ID" SortOrder="Descending" /&gt;
                  &lt;/SortExpressions&gt;
                  &lt;Columns&gt;
  
                  &lt;/Columns&gt;
              &lt;/MasterTableView&gt;
              &lt;ClientSettings AllowKeyboardNavigation="true"&gt;&lt;/ClientSettings&gt;
          &lt;/telerik:RadGrid&gt;
      &lt;/div&gt;
      &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=STRMV3097\MSSQLSERVER2012;Initial Catalog=ToolsandTechResearchShowcase;User ID=pra_app_user;Password=pra"
          DeleteCommand="Delete Command" InsertCommand="Insert Command"
          SelectCommand="Select" UpdateCommand="Update"&gt;
      &lt;/asp:SqlDataSource&gt;
  &lt;/form&gt;
  </code></pre>