How to preselect multiple items in listbox

Discussion in 'ASP .Net' started by Isaac Wang via .NET 247, Apr 27, 2004.

  1. I am having trouble making preselections for the listboxes in a datagrid.


    For each row, I have a listbox with selectionmode=multiple, which I bind to a datatable. However, when I used the SelectedValue for listbox, it will only allow to bind to one value? Does anyone know how to bind select multiple items for each listbox?

    --------------------------------
    From: Isaac Wang

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>VZnpiYWkiEaJu7hfTMO3xw==</Id>
     
    Isaac Wang via .NET 247, Apr 27, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?QmluIFNvbmcsIE1DUA==?=, Apr 27, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. D. Shane Fowlkes
    Replies:
    0
    Views:
    571
    D. Shane Fowlkes
    Apr 7, 2004
  2. =?Utf-8?B?VGltOjouLg==?=

    Preselect item in DropdownList Edit mode???

    =?Utf-8?B?VGltOjouLg==?=, Dec 28, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,548
    =?Utf-8?B?UmFodWwgQW5hbmQ=?=
    Dec 29, 2004
  3. K B
    Replies:
    2
    Views:
    670
  4. Nik
    Replies:
    0
    Views:
    125
  5. Joel Barsotti

    Can preselect databound listbox items

    Joel Barsotti, Jan 4, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    140
    Joel Barsotti
    Jan 4, 2007
Loading...

Share This Page