![]() |
cannot disable viewstate on datagrid
Hi all
I have a datagrid which can display upto 20,000 records and the viewstate gets very big. I have tried turning of viewtate using EnableViewState = false both on the parent page and on the DataGrid itself, however when i view the generated html source there is still an enourmous viewstate. The columns for my grid are being generated dynamically in the code behind, is this causing the problem? |
Re: cannot disable viewstate on datagrid
Try turning off the datagrid viewstate in the codebehind at the same time
you create the columns. "Rhodri" <rhodrigriffiths@hotmail.com> wrote in message news:ede11fa9.0404200744.27f3133a@posting.google.c om... > Hi all > > I have a datagrid which can display upto 20,000 records and the > viewstate gets very big. I have tried turning of viewtate using > EnableViewState = false both on the parent page and on the DataGrid > itself, however when i view the generated html source there is still > an enourmous viewstate. > > The columns for my grid are being generated dynamically in the code > behind, is this causing the problem? |
| All times are GMT. The time now is 02:33 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.