Rank: Newbie Groups: Member
Joined: 9/16/2010 Posts: 8
|
I have a Grid control on a page, defined with ViewStateMode = Disabled and EnableViewState = False. I also have a Javascript event on cell selection, and the event handler calls raiseItemCommandEvent on the grid.
When I check network traffic, the page posts the whole state of the grid as form data, in this style: __eo_obj_states=ASEBgcgHR3JpZDEhLQMHBnM6NX .....
This block is around 6.5Kb of data, and it seems to encapsulate the entire state of the grid. I'm happy to reconstruct the grid from scratch, and I really want to avoid uploading this volume of data. Is there a way to do this? Is it the result of the raiseItemCommandEvent?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
I do not believe there is a way to disable that data. It is always posted back even if you have view state disabled. Sorry about that!
|