Gridview Fixed Height When Last Page Does Not Have Full Records
Posted on 2007-07-29
Hi there. Please can someone let me know how you can ensure that the GridView always maintains the same height, and the paging controls maintain the same position when the last page of a dataset has less records than defined per page. For example, if my data has 52 records and I define paging every 10 records, the last page will only have 2 records so the paging controls will jump up rather untidily. I am guessing I would need to insert some extra rows when a certain event fires but cannot get the right code to work (the correct event and the count logic?). Thank you for your time.