G
Glen Wolinsky
I have two virtually identical listbox controls on a tabPage in my
application. I bind a small datatable to each one when a new project
(my data) is selected from a treeview control (this works fine).
When I select the first project, the data is retrieved without a
problem and the datatables are properly bound to both listboxes. The
first listbox has a "SelectedIndexChanged" event wired to it which
also works fine.
Now, here's the wierd part: When I select a different project, the
data is retreived and the datatables are properly bound to both
listboxes. HOWEVER, the first listbox doesn't show the data!!!!! The
data IS THERE, but it's invisible!!! You can even select an item, and
the select even fires properly with the correct data.
EVEN WIERDER is that if I un-wire the "SelectedIndexChanged" event the
problem goes away!!!! Of course, now my select events don't work.
This is VERY strange.
Any help would be greatly appreciated.
Sincerely,
Glen Wolinsky
application. I bind a small datatable to each one when a new project
(my data) is selected from a treeview control (this works fine).
When I select the first project, the data is retrieved without a
problem and the datatables are properly bound to both listboxes. The
first listbox has a "SelectedIndexChanged" event wired to it which
also works fine.
Now, here's the wierd part: When I select a different project, the
data is retreived and the datatables are properly bound to both
listboxes. HOWEVER, the first listbox doesn't show the data!!!!! The
data IS THERE, but it's invisible!!! You can even select an item, and
the select even fires properly with the correct data.
EVEN WIERDER is that if I un-wire the "SelectedIndexChanged" event the
problem goes away!!!! Of course, now my select events don't work.
This is VERY strange.
Any help would be greatly appreciated.
Sincerely,
Glen Wolinsky