asp.net - Removing duplicate item in an ASP CheckBoxList using C# -
i have checkboxlist control on web page. have property appenddatabounditems="true"
on postback checkboxlist retains checked items, appends duplicate list of items existing checkboxlist
if set property appenddatabounditems="false", on postback boxes checked lost, dupicate items list not appended.
how can retain checked items on postback , rid of duplicates in list added on postback?
do need hold checked values in array, , use reselect items in checkboxlist?
Comments
Post a Comment