I'm using a dynamically added grid, and handing the grid a dataset during the NeedDataSource event. The contents of that dataset can change based on some other controls I have for filtering.
Grouping and paging and ajax are enabled, and all seem to work fine. The problem is the footer at the bottom always says the original row and page count. So if I hand the grid a 16 row dataset in NeedDataSource, and then in the next call a 1 row dataset, the footer still says displaying page "Displaying page 1 of 2, items 1 to 15 of 16."
Turning gird viewstate on and off did not help, nor did setting the grid datasource to Null and doing a Rebind().
Is there some way to force the footer to refresh?