Re: will checkboxes lose their state after postback?
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
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" <beffer@xxxxxxxxx> wrote in message
news:%230gE5ITeFHA.1612@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>
>
.
Relevant Pages
- Re: will checkboxes lose their state after postback?
... In this case the viewstate does not take care of this? ... > data source in the postback and re-bound the datalist to the data source? ... >> I have build a datalist with checkboxes in it and after a postback the ... (microsoft.public.dotnet.framework.aspnet) - Re: Main Merge questions
... For the check boxes, use an If...then...Else field and use symbols from the ... you can send out the data source and get people to edit that. ... Doug Robbins - Word MVP ... Can checkboxes be used as a merge object? ... (microsoft.public.word.mailmerge.fields) - Re: will checkboxes lose their state after postback?
... ..NET framwork will not take care of them because to the framwork, ... they are not the origional checkboxes ... >> data source in the postback and re-bound the datalist to the data source? ... (microsoft.public.dotnet.framework.aspnet) - Re: Looping through CheckBoxList items doesnt pick up selected ones when items were disabled
... the underlying probem is that a browser will not postback a disabled fields. ... also checkboxes will only postback their value if checked. ... if you want client script to play with enable/disable you will have to come ... additional state info to the server). ... (microsoft.public.dotnet.framework.aspnet) - Re: oncheckedchanged event is not firing everytime on checkbox
... One thing is that you should have your checkboxes prepared as ... be preserved as well as PostBack processing and all events. ... > working and i am able to manage the checking and unchecking of child check ... > and special thanks to Robert. ... (microsoft.public.dotnet.framework.aspnet.webcontrols) |
|