Skip to main content

ListBox From SQL Shows Top Entry Selected

Comments

4 comments

  • Nico Burgerhart
    By default the first item is always selected.

     

    If the selection mode is single, the user can select a different item.

     

    If the selection mode is multiple, the user can click on the first item to deselect it.

     

    If the selection mode is extended, the user can ctrl+click on the first item to deselect it.

     

    You can also add an extra (first) item to your listbox and label it as "No selection" or something like that.
    0
  • Permanently deleted user
    Moring Nico,

     

    Appreciate your feedback, yet again.

     

    I will give your suggestions a try.

     

    Thank you....Walter
    0
  • Permanently deleted user
    Nico and Walter, this is great - for an ArcGIS Server Feature Service based listbox, it appears that the first item isn't automatically selected, but when one does so based on a DataItem list, the first item is selected.  Do you know how to get the listboxes to behave in the same manner (i.e. neither has anything automatically selected"
    0
  • Nico Burgerhart
    As far as I know the first item is always selected.
    0

Please sign in to leave a comment.