title: How to change row height on last page of Gridview
body: <p>On the last page if If i have 1 or 2 items the header and the pager stretch too much.. it all autosizes..</p>
  
  <p>My gridview height is not set, But I set the row property to 30pixels..still doesnt prevent the autosizing..</p>
  
  <p>I was searching for a solution over the net..and the closest solution that i found was that:</p>
  
  <pre><code>protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
  {
      if(this.GridView1.Rows.Count&lt;this.GridView1.PageSize)//I need here to grab the last page..// do something like e.Row.... and last page.
      {
          foreach (GridViewRow tt in GridView1.Rows)
              { tt.Height = Unit.Pixel(30); }
      }
  }
  </code></pre>
  
  <p>It isnt correct.... what i need to happen, is when the user clicks the last page the height should be modified to to 30 pixels.</p>
  
  <p>Any other ideas on how to prevent autosizing on the last page are welcome!!</p>