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
65
Exception thrown when LoadingOnDemand=XML
posted

Hi,

I've got the latest version of UltraWebGrid, I wish to load a large amount of data into it (about 100,000 rows) so I need to use LoadOnDemand. I have set LoadOnDemand=XML and everything works fine until I attempt to edit a cell which is after the first page of 50 (i.e. one of the cells which has been loaded on demand). I also use a LinqDataSource to poplate the UltraWebGrid if that is of interest

When I edit a cell which is after the first 50 I get told that:
Could not find a row that matches the given keys in the original values stored in ViewState.  Ensure that the 'keys' dictionary contains unique key values that correspond to a row returned from the previous Select operation.

This happends when I attempt to update the LinqDataSource...

I've read other forum posts which mention that because LoadOnDemand is used the web page can't persist the records beyound the first 50, this I can understand but is there any sort of work around other than turning off LoadOnDemand which is kind of essential when I'm dealing with so much data.

Does anyone have any ideas?

Thanks
Ed

 

Parents Reply Children
No Data