title: How to set focus on last row of grid
body: <p>I need to set focus on the last row of the grid after a grid row updation takes place. Can anyone help me out on this?</p>
  
  <p>Below is my gridview,</p>
  
  <pre><code>&lt;asp:GridView ID="grdViewForComment" runat="server" OnRowDataBound="Row_DataBound" AutoGenerateColumns="false"&gt;
      &lt;Columns&gt;
          &lt;asp:TemplateField HeaderText="Advanced search"&gt;
              &lt;ItemTemplate&gt;                                                         
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
      &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>