Microsoft
Software
Hardware
Network
Question : Unable to save state of check box in datalist
Hi
I have a data list in which I have a check box and a label
There is a button outside the data list.
If the checkbox is checked then on button click it becomes unchecked.
How can I save the state of the check box on button click.
Answer : Unable to save state of check box in datalist
My guess is you are pre-populating or redatabinding every postback. Simply put if(!Page.IsPostBack){} around the code where you pre-populate the checkbox
Random Solutions
What is the best cms to use with dreamweaver
2 IP to same windows 2003 server for RDP and VPN issue
How to figure out input value passed via XML
Your log in to the Switchboard timed out. Please click OK to reload or Cancel to quit.
Reset Domain Administrator Account Windows Server 2008 64Bit
Batch printing word document to non-default printer
CS0433 error when deploying ASP.NET app, type exists two asp.net temporary files
How to hide a dummy date value.
New record, if field is empty, msgbox
Sharepoint 2010 - 2 domains and non domain users