locked
Setting Selected Item in a SelectionList RRS feed

  • Question

  • User705318417 posted
    Is there any way to dynamically set which item is initially selected in a SelectionList? I am reading a series of strings from a database into a selectionlist, and want to set the initially selected item as the one the user had selected previously. Thanks Gordon
    Tuesday, June 8, 2004 11:23 AM

All replies

  • User-13463694 posted
    Use SelectionList.SelectedIndex.
    Tuesday, June 8, 2004 5:27 PM