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

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -