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??
As I mentioned in my original post I already have the Brower property set to XML.
Hi,
Add the code in page load event
If Page.IsPostBack = False Then
End If
Regards,
Kannan.S