Ok, here is a tough one. My client has a page that needs to run significantly faster when it postbacks to the server. This page uses an editable datagrid, like a spreadsheet, that can have 0 rows to 1000+ rows. They don't want paging, so that's not an option. I'm also using VS 2003.
I have finally realized the problem is the viewstate. If I turn the viewstate off for the grid, and communicate with the server, everything flies by. The file size is now 1.5 megs. But with 500 rows of data and viewstate turned on it uses 3.5 megs.
How can I disable viewstate and still be able to pass the changes that were made on the datagrid, to the server so I can updated the database?
Has anyone accomplished this?
I have finally realized the problem is the viewstate. If I turn the viewstate off for the grid, and communicate with the server, everything flies by. The file size is now 1.5 megs. But with 500 rows of data and viewstate turned on it uses 3.5 megs.
How can I disable viewstate and still be able to pass the changes that were made on the datagrid, to the server so I can updated the database?
Has anyone accomplished this?