S
Steve Cutting
Hi all,
I have found that when I have a listbox bound to a datatable, the
ClearSelected method of the listbox does not work properly. It just changes
the selection to item 1 in the listbox. Calling ClearSelected again then
removes the selection.
If the listbox is unbound it works correctly. ie only one call of
ClearSelected is required.
I have tried using listbox.selectedindex = -1
This has the same effect.
Anyone else encountered this ??
Steve
I have found that when I have a listbox bound to a datatable, the
ClearSelected method of the listbox does not work properly. It just changes
the selection to item 1 in the listbox. Calling ClearSelected again then
removes the selection.
If the listbox is unbound it works correctly. ie only one call of
ClearSelected is required.
I have tried using listbox.selectedindex = -1
This has the same effect.
Anyone else encountered this ??
Steve