ListBox Anomaly

Results 1 to 2 of 2

Thread: ListBox Anomaly

  1. #1
    Join Date
    Dec 1969

    Default ListBox Anomaly

    I have a ListBox server control on a page. Some items in the listbox have the same value (maybe the same text too - doesn&#039;t matter).<BR><BR>When I select an item (or multiple items - doesn&#039;t matter) and then post back, the selected item shifts to the first item that has the same value as the item I actually selected.<BR><BR>It doesn&#039;t matter if the items in the control are databound or hardcoded, and I&#039;m not doing any processing on the postback. The same problem appears when I use a DropDownList instead of a ListBox.<BR><BR>Has anyone encountered this problem before? Is there a workaround? Much obliged...

  2. #2

    Default RE: ListBox Anomaly

    The workaround would probably be to make sure the values are unique.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts