I have a user control that is dynamically loaded by my page. The user control contains a number of multi-select listboxes and other controls.
Most of this works just fine. On postback, my list box controls are correctly populated (without me having to repopulate them); however, any selected items are not set. That is, GetSelectedIndices()
returns an empty set.
What is the correct sequence here? How can my dynamically loaded user control use standard ASP.NET to get the selected list box values?