1
Vote

Pagination

description

Hi,

Timesheets tab pagination is not working.Though the page numbers are populated correctly,all pages have same number of records(>20 against default page size)

Regards,
Madhu.V

comments

tda5773 wrote May 23, 2016 at 9:43 AM

I have fixed it by modifying the below code

File : Timesheets.aspx.cs
Method : private DataTable CreateTimesheetsDataTable(int pageNumber)
Fix:
Replace this with: foreach (BusinessObjects.Timesheet timesheet in timesheets) below code
                      foreach (BusinessObjects.Timesheet timesheet in pageCollection)