Is there a way to clear the selected listboxcomponent in between page refreshes? I am using a dynamic update panel with a refresh button. When I select something from the listboxcomponent and then change my search criteria so that the listboxcomponent array has less values than the selected index it throws the following error:
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
Here is an example to make this more clear: I am searching for AD users, the input is a text box where a last name is entered and the search is lastname*.
Search1:back
This only returns 2 values, I dont select any.
Search2: ba
I select the 8th user in the listboxcomponent
Search3: back
I receive an application error.