I have created a class that inherits the System.Web.UI.WebControls.GridView. We shall call this… GridViewX!
Anyway, I would like to be able to write a method for it that:
1. Sets a custom boolean property, isLastPage, on page switch. At the same, time,
2. Sets a custom int property, unmodifiedRowCount that stores the number of records(rows) on the last page.
Thank you!
Records on last page could be calculated as