checkbox status lost after update panel works
问题 I have an update panel, which fires every third seconds. I have this code into my asp.net page <div ID="campaignDiv" runat="server" > <ul> </ul> </div> and I add its content dynamically like this: private string CreateLiCheckbox(string checkBoxText) { return string.Format("<li><span class=\"textDropdown\">{0}</span><input id=\"{1}\" value=\"{0}\" type=\"checkbox\"><label for=\"{1}\"></label></li>", checkBoxText, checkBoxText + "dropdownID"); } if (!IsPostBack) { List<string> comps =