Z
zdrakec
Hey Teemu:
Can you explain to me why a WebForms ListBox control, with
SelectionMode set to Multiple, would lose some of the selections?
Here's what I mean. If I select, say, the first nine items of my
listbox (populated at page_load time, only if the page is not being
posted back), at post back time, it will consider items 0,1,2 to be
selected, items 3,4 not to be selected, items 5,6 to be selected, and
the rest not selected. This is one example, sometimes the distribution
is different. Since I used the shift key to select the first nine
elements in the list, I expected all items 0 through 8 to have selected
= true, but such is not the case. Sometimes, regardless of how many
items I have selected, it will regard only items 0 through 4 to be
selected, and occasionally if I select only one item, it will consider
that item not to be selected. Again, the list is populated ONLY if
page.IsPostBack = false, in the page_load event handler.
???
Thanks,
zdrakec
Can you explain to me why a WebForms ListBox control, with
SelectionMode set to Multiple, would lose some of the selections?
Here's what I mean. If I select, say, the first nine items of my
listbox (populated at page_load time, only if the page is not being
posted back), at post back time, it will consider items 0,1,2 to be
selected, items 3,4 not to be selected, items 5,6 to be selected, and
the rest not selected. This is one example, sometimes the distribution
is different. Since I used the shift key to select the first nine
elements in the list, I expected all items 0 through 8 to have selected
= true, but such is not the case. Sometimes, regardless of how many
items I have selected, it will regard only items 0 through 4 to be
selected, and occasionally if I select only one item, it will consider
that item not to be selected. Again, the list is populated ONLY if
page.IsPostBack = false, in the page_load event handler.
???
Thanks,
zdrakec