Hi,
I have stored a bunch of text values in an array which is randomised. I dynamically create (in VB) a checkboxList then add items to this list, the values of the items are retreived from the randomised array. The checkboxList is then added to a placeHolder on the page. I create the checkboxList and listItems dynamically via onPage Init.
The problem is have is that when you submit the page, you need to re-create the checkboxList again because the page loses the dynamically created content, however because the array is randomised, the next time the elements are re-created, ASP returns the wrong listItems that were selected. For example:
Array is: {1, 2, 3 , 4] After randomisation: [3,4,2,1] Page creates checkbox list on page as: ? 3 ? 4 ? 2 ? 1 Now i select value 3 and press the submit button. After s ...

Go to the complete details ...