Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Ajax, Sorting and Paging
posted

I am having trouble getting the LoadOnDemand.XML, Sorting and Paging to work together correctly.  I am binding data to the grid in code in the InitializeDatasource event.  I have Browser=XML, LoadOnDemand=XML, AllowSortingDefault=Yes, AllowPaging=True and my DataKeyField set via the property grid in design mode.  Paging works but when I click on a column header to sort, the column indicator shows correctly but it seems to be doing a client side sort where it only sorts the rows in the current page.  The only code behind events that I have code in are InitializeDataSource, InitializeRow and ItemCommand.  What am I missing??