Yes, you seems to have to override the SaveViewstate and LoadViewstate
method in order to reload the value.
..NET framwork will not take care of them because to the framwork, they are
essentially something recreated(i.e.: they are not the origional checkboxes
after postback, they're just another group of checkboxes that process the
same ID as the destroyed ones)
"Jimmy" <be****@gmail.com> ¼¶¼g©ó¶l¥ó·s»D:OB**************@TK2MSFTNGP12.phx.g bl...
Scott
They are not bound to a datasource...
In this case the viewstate does not take care of this? So I have to write
code to put the values of the (un)checked boxes back?
Ch Jimmy
"Scott M." <s-***@nospam.nospam> wrote in message
news:Ob*************@TK2MSFTNGP10.phx.gbl... Are these checkboxes bound to a data source? If so, have you updated the
data source in the postback and re-bound the datalist to the data source?
"Jimmy" <be****@gmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... > Hi
>
> I have build a datalist with checkboxes in it and after a postback the
> state
> of the checkboxes have not been saved. I have enabled the viewstate of all > the controls on this page. What do I have to implement to keep the state? >
> ch Jimmy
>
>