Im using EF 6.0 with an asp.net webform with a gridview. The grid is bound to an ObjectDatasource which gets its data from an entity data model. Paging works fine with skip and take, however when I sort a column, it wont keep my page#, it always goes back to page 1 since the startRowIndex parameter passed in is 0.
How can I keep the page number, yet sort the whole list?