You should ask this question in the aspnet groups, not here.... but
anyhow....
Not sure about the Checkboxlist.... but disabling ViewState does not prevent
you from getting a postback value from any control. In Page_Load
"reconstruct" your checkboxes.... the events fire next, and you will be able
to retrieve the Postbox "value."
I haven't experimented with Checkboxlist.... I know things with ViewState
can get a bit confusing.
--
-C. Moya
www.cmoya.com
"Chris Chilvers" <ke****@dynafus.com> wrote in message
news:72********************************@4ax.com...
On Wed, 26 Apr 2006 15:00:03 -0400, "Justin" <ju****@hotmail.com>
wrote:
I have aspx pages with 10 checkboxlist controls. total individual
checkbox
(the sum of individual checbox in those 10 checkboxlists) on the page is
about 1710. You can imagine how large the viewstate is. Is there anyway
I
can shrink the viewstate and at the same time get the values of each
checkbox after postback?
Thanks
On this same point is there anyway to disable saving the data of
controls that hold large amounts of data such as dropdownlists and
datagird but still allow them to store all the smaller values in
viewstate for things like which item index/row index was last
selected?
This would have the basic contract that you would be responsible for
repopulating the data during the init phase so that it is ready for
LoadSavedState.