Welcome Guest Search | Active Topics | Sign In | Register

Grid control view state Options
colin
Posted: Friday, June 17, 2011 10:21:50 AM
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?
eo_support
Posted: Friday, June 17, 2011 4:24:06 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.