I created a project using RagGrid with advanced databinding and custom paging (like the top example here: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx) except I have viewstate for the grid disabled. My issue is when I change my page size the grid doesn't really update like it should (I'm using the default page sizes).
By default it's on 10, if I select 20 my grid rebinds but page size is still 10 in the NeedDataSource event. From there if I select page size 50, my grid rebinds but page size is 20 in NeedDataSource. The wierd part is if I select page size 10 from either of those I always get the correct page size / number of records.
I traced the events and in my scenario it looks like PageSizeChanged is being fired but the grid isn't rebinding afterwards, although it clearly rebinds correctly after PageIndexChanged.
Any help would be greatly appreciated. Thanks.
By default it's on 10, if I select 20 my grid rebinds but page size is still 10 in the NeedDataSource event. From there if I select page size 50, my grid rebinds but page size is 20 in NeedDataSource. The wierd part is if I select page size 10 from either of those I always get the correct page size / number of records.
I traced the events and in my scenario it looks like PageSizeChanged is being fired but the grid isn't rebinding afterwards, although it clearly rebinds correctly after PageIndexChanged.
Any help would be greatly appreciated. Thanks.