M
Mike Dando
Hi,
I have created a composite control which has some drop down lists, buttons
and a list box. The button clicks add items from the drop down lists to the
list box, but the list box only ever shows with 1 (the latest) value.
From what I have read, a ListBox does not store viewstate with regards to
items added to it.
So how can I maintain the list of items in my ListBox between trips to the
server? As this is a composite
control I would expect any solution to be within my new control's class and
not at the page level.
I have looked at the LoadViewState/SaveViewState methods but they don't seem
to get called.
Thanks,
Mike.
..NET 2003 C#
I have created a composite control which has some drop down lists, buttons
and a list box. The button clicks add items from the drop down lists to the
list box, but the list box only ever shows with 1 (the latest) value.
From what I have read, a ListBox does not store viewstate with regards to
items added to it.
So how can I maintain the list of items in my ListBox between trips to the
server? As this is a composite
control I would expect any solution to be within my new control's class and
not at the page level.
I have looked at the LoadViewState/SaveViewState methods but they don't seem
to get called.
Thanks,
Mike.
..NET 2003 C#