Ajax page setting

Dec 17, 2014 at 10:54 PM
Edited Dec 17, 2014 at 10:55 PM
Ajax paging is working correctly, but if I do an Ajax post back from a form and then redraw the grid using this:
var grid = (AjaxGrid<TmsXUserModel>)new AjaxGridFactory().CreateAjaxGrid(users, filterData.CurrentPage, false);

It draws the appropriate page, but then the pager is set to 1.

I believe it's because when we ajaxify the grid, the ajaxify javascript function hard codes the current page to "1". Can it be modified to be a property like the ajax urls?

I created a separate javascript function to click to the proper pager when the ajax post back completes, but this is kind of kludge.

Thank you,