The sorting in the grid gives me some javascript error when there are more than 1000 records in the grid. The exact error is
Microsoft JScript runtime error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.Parameter name: data
The sorting works with less number of records in the grid but as soon as the number of records are about 1000, it falls over.
Any suggestion would be helpful. This is a bit urgent.
Regards,
Tahir
Hi Tahir,
Are you using EnableAjax set to true? If this is the case, there is a limit to how much information can come back from an Ajax request. If it is too large, you get this problem. If you tried to delete one row, the same thing would happen. You have a couple of options. You can either set EnableAjax to false (and wrap the grid in an update panel if you wish), turn on paging, or turn on virtual scrolling.
regards,
David Young