I'm looking for some help/guidance with how to best implement my data communications model.
I've spent quite a bit of time with the documentation (which is great, btw) and experimented with different approaches, but continue to get stuck on various performance issues - which leads me to believe I'm just not doing it right, or am missing a couple key points.
To load data, I'm using datasources with dataURLs that point to .net handlers which return JSON formatted data. This is working great for loading data into the listgrids.
The problem I'm running into, is that once I load the data into the grid, I don't need to keep it in sync with the server. The data I'm loading is just meant to be a template for the user... from which they can add, remove update, etc. I only need to send the data in the grid back to the server once the user indicates they are finished. And when I do that, I won't be updating the same source that originally sent the template data. So from the server's standpoint, the update is actually new data, not an updated dataset.
At the largest, my listgrids will contain around 10,000 rows. I am having trouble figuring out the best way to post the data to the server. My server side handlers are currently expecting XML data in the request body. I've tried using xmlSerialize on the listgrid.data object, but on the larger datasets, I get a slow script warning.
Any advice on methods that I'm overlooking or other approaches would be great.
Thanks,
Philip
I've spent quite a bit of time with the documentation (which is great, btw) and experimented with different approaches, but continue to get stuck on various performance issues - which leads me to believe I'm just not doing it right, or am missing a couple key points.
To load data, I'm using datasources with dataURLs that point to .net handlers which return JSON formatted data. This is working great for loading data into the listgrids.
The problem I'm running into, is that once I load the data into the grid, I don't need to keep it in sync with the server. The data I'm loading is just meant to be a template for the user... from which they can add, remove update, etc. I only need to send the data in the grid back to the server once the user indicates they are finished. And when I do that, I won't be updating the same source that originally sent the template data. So from the server's standpoint, the update is actually new data, not an updated dataset.
At the largest, my listgrids will contain around 10,000 rows. I am having trouble figuring out the best way to post the data to the server. My server side handlers are currently expecting XML data in the request body. I've tried using xmlSerialize on the listgrid.data object, but on the larger datasets, I get a slow script warning.
Any advice on methods that I'm overlooking or other approaches would be great.
Thanks,
Philip
Comment