D
Danno
Ok, I'm losing my mind. I have a simple ASP.NET page with a listbox
control. I am loading the listbox with a few items during Page_Load,
but only if it is NOT postback (the listbox is unbound, the items come
from XML).
I select an item from the list and click a Delete button, but on
postback the SelectedIndex property is always = 0 (unless I don't
select an item and then I get -1).
EnableListView is true for the page and the listbox.
Any ideas?
control. I am loading the listbox with a few items during Page_Load,
but only if it is NOT postback (the listbox is unbound, the items come
from XML).
I select an item from the list and click a Delete button, but on
postback the SelectedIndex property is always = 0 (unless I don't
select an item and then I get -1).
EnableListView is true for the page and the listbox.
Any ideas?