title: custom errortext on row delete jqGrid
body: <p>When deleting a row in jqgrid, I would like to return a custom error text when server returns 500 error. I am using jqGrid for ASP.NET, and the grid does not seem to have an "loadError" event</p>
  
  <p>Has anyone done this?</p>
  
  <p>jqGrid is defined like this</p>
  
  <pre><code>&lt;trirand:JQGrid runat="server" ID="Jqgrid" ShrinkToFit="true" Width="900px" Height="500" PagerSettings-PageSize="20" PagerSettings-PageSizeOptions="[20,50,100]" OnSearching="JQGrid_Searching" OnSorting="JQGrid_Sorting" OnRowEditing="JQGrid_RowEditing" OnRowDeleting="JQGrid_RowDeleting"&gt;
                      &lt;Columns&gt;
                          &lt;trirand:JQGridColumn DataField="ID" PrimaryKey="True" Width="40" Visible="False" /&gt;
                          &lt;trirand:JQGridColumn DataField="NAME" SearchType="DropDown" Width="55" SearchControlID="ddlNameFilter"
                              HeaderText="Name" Editable="true"&gt;
                              &lt;EditClientSideValidators&gt;
                                  &lt;trirand:RequiredValidator /&gt;
                              &lt;/EditClientSideValidators&gt;
                          &lt;/trirand:JQGridColumn&gt;
                          &lt;trirand:JQGridColumn DataField="DESCR" SearchType="DropDown" Width="55" SearchControlID="ddlDescrFilter"
                              Searchable="True" HeaderText="Descr" Editable="true"&gt;
                              &lt;EditClientSideValidators&gt;
                                  &lt;trirand:RequiredValidator /&gt;
                              &lt;/EditClientSideValidators&gt;
                          &lt;/trirand:JQGridColumn&gt;
                          &lt;trirand:JQGridColumn HeaderText=" " EditActionIconsColumn="true" Width="50" EditActionIconsEditEnabled="false"
                              CssClass="clickable" /&gt;
                      &lt;/Columns&gt;
                      &lt;ClientSideEvents LoadComplete="loadComplete" ColumnSort="columnSort" RowDoubleClick="editRow"&gt;
                      &lt;/ClientSideEvents&gt;
                      &lt;ToolBarSettings ShowSearchToolBar="True" ToolBarPosition="TopAndBottom"&gt;
                      &lt;/ToolBarSettings&gt;
                      &lt;PagerSettings NoRowsMessage="No rows to display" /&gt;
                      &lt;ExportSettings ExportDataRange="All" /&gt;
                  &lt;/trirand:JQGrid&gt;
  </code></pre>