S
sonic
Hi,
I am experimenting with different viewstate management ideas for large
datagrids, and found a microsoft suggestion to turn it off, and only
store relevant information by manually accessing viewstate. as per some
helpful suggestins in MSDN "Common DataGrid Mistakes"
http://msdn.microsoft.com/library/d...dnaspp/html/aspnet-commondatagridmistakes.asp
they suggest disabling datagrid viewstate and adding selective
information to it i.e. ViewState["editindex"] = this.EditItemIndex etc.
the problem i encountered is, when i set EnableViewState=false, nothing
gets saved there, even though i explicitly save / load viewstate
variables.
Any advice in having it disabled but still using it ?
I am experimenting with different viewstate management ideas for large
datagrids, and found a microsoft suggestion to turn it off, and only
store relevant information by manually accessing viewstate. as per some
helpful suggestins in MSDN "Common DataGrid Mistakes"
http://msdn.microsoft.com/library/d...dnaspp/html/aspnet-commondatagridmistakes.asp
they suggest disabling datagrid viewstate and adding selective
information to it i.e. ViewState["editindex"] = this.EditItemIndex etc.
the problem i encountered is, when i set EnableViewState=false, nothing
gets saved there, even though i explicitly save / load viewstate
variables.
Any advice in having it disabled but still using it ?