End Google Ads 201810 - BS.net 01 --> I have an issue with a custom gridview. Source code is from the PagingGridView located on this site. I have tried several paging gridivews but keep running into the same problem which leads me to believe that the issue is not related to the gridview, but perhaps viewstate. When I bind the gridview it shows up properly on the page. As I scroll from page to page, it works properly. The problem exists when I get to the last page of records. If the total records in the DataSource is less than the Page size, the gridview binds correctly, however a postback will cause blank rows to show up beneath the correctly bound entries of the gridview. Wierd... I am using LINQ with Entitiy framework to get data from the database. All of this seems to work correctly, its just these blank rows that keep appearing.

Example markup: