how to update pager

1 reply. Last post: November 2, 2010 11:27 PM by Niven Prasetya
Tags :
  • (None)

Hello InterSoft,

We have WebGrid 7 with pager control of pagingTypeUI "Slider". It works fine during pagination but doesn't work when we repopulate grid with different layout.    Example: Layout "1" has 650 records (100 records per page) --> Slider display max 7 pages (it is correct). When we populate  Layout "2" which has 950 records, we expect that Slider should display 10 pages (100 records per page), but it still display 7 pages (not correct). How to forse a pager to update itself in a way  that slider display correct number of pages.

I have tried to execute grid.SynchronizeSliderUI();  from WebGrid_OnAfterResponseProcess(), but it didn't make any change. What would you suggest to forse to update Slider in paging control of pagingtype "Slider"

 Thank you very much,

Nick

All Replies

Hi Nick,

I have tried your scenario but nothing shows me a problem on the slider. Please try my attached sample, please let me know if my sample works fine or not on your side. I can slide until page 22 consist of 100 records/page.

Im using the NorthWind database which you can found it at Intersoft Solutions folder.

Hope this helps.

 

Regards,
Niven.

1 attachment
All times are GMT -5. The time now is 2:57 AM.
Previous Next