multiple selection in listbox

Discussion in 'ASP .Net Building Controls' started by Arvid, Mar 13, 2007.

  1. Arvid

    Arvid Guest

    I would like to select and use multiple records in a listbox .

    Is this possible?

    I use ASP.NET 2.0, VS2005
    --
    regards,

    Arvid
     
    Arvid, Mar 13, 2007
    #1
    1. Advertising

  2. Sure thing. Keep in mind though, when you look at the documentation for
    properties such as Selected Item, it is selecting the item with the lowest
    index in the list, not all selected items. You'll need to iterate through
    the list to determine which items are selected.

    The dropdownlist is the single select version.


    --
    Hope this helps,
    Mark Fitzpatrick
    Former Microsoft FrontPage MVP 199?-2006

    "Arvid" <> wrote in message
    news:...
    >I would like to select and use multiple records in a listbox .
    >
    > Is this possible?
    >
    > I use ASP.NET 2.0, VS2005
    > --
    > regards,
    >
    > Arvid
     
    Mark Fitzpatrick, Mar 14, 2007
    #2
    1. Advertising

  3. Arvid

    Arvid Guest

    found it, thank you
    --
    regards,

    Arvid


    "Mark Fitzpatrick" wrote:

    > Sure thing. Keep in mind though, when you look at the documentation for
    > properties such as Selected Item, it is selecting the item with the lowest
    > index in the list, not all selected items. You'll need to iterate through
    > the list to determine which items are selected.
    >
    > The dropdownlist is the single select version.
    >
    >
    > --
    > Hope this helps,
    > Mark Fitzpatrick
    > Former Microsoft FrontPage MVP 199?-2006
    >
    > "Arvid" <> wrote in message
    > news:...
    > >I would like to select and use multiple records in a listbox .
    > >
    > > Is this possible?
    > >
    > > I use ASP.NET 2.0, VS2005
    > > --
    > > regards,
    > >
    > > Arvid

    >
    >
    >
     
    Arvid, Mar 16, 2007
    #3
    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. =?Utf-8?B?TGll?=
    Replies:
    5
    Views:
    693
    =?Utf-8?B?TGll?=
    Dec 14, 2004
  2. Chris Kettenbach

    Listbox selection to populate another listbox?

    Chris Kettenbach, Jun 15, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    1,693
    Chris Kettenbach
    Jun 16, 2005
  3. Replies:
    10
    Views:
    24,998
    S. Justin Gengo [MCP]
    Feb 27, 2006
  4. =?Utf-8?B?V2FyYW4=?=

    Multiple Selection in Listbox when Edit the form

    =?Utf-8?B?V2FyYW4=?=, May 4, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    493
    =?Utf-8?B?V2FyYW4=?=
    May 4, 2006
  5. Ned Balzer
    Replies:
    2
    Views:
    735
    Ned Balzer
    Aug 31, 2006
Loading...

Share This Page