asp.net - How to make the boxes in a checkboxlist unchecked by default? -
i've tried looking @ properties asp.net checkboxlist on msdn , searching google , can't seem find way of setting checkboxes unchecked default. missing glaringly obvious solution?
thanks,
by default listitem in checkboxlist should not checked. if have selected property set true checked:
<asp:listitem selected="true">item 1</asp:listitem> by default false , should suffice. if need clear checked items on demand can use clearselection method: checkboxlist.clearselection().
Comments
Post a Comment