all groups > asp.net building controls > march 2007 >
You're in the

asp.net building controls

group:

multiple selection in listbox


multiple selection in listbox Arvid
3/13/2007 9:10:23 AM
asp.net building controls:
I would like to select and use multiple records in a listbox .

Is this possible?

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

Re: multiple selection in listbox Mark Fitzpatrick
3/13/2007 9:28:26 PM
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

[quoted text, click to view]

Re: multiple selection in listbox Arvid
3/16/2007 1:38:05 AM
found it, thank you
--
regards,

Arvid


[quoted text, click to view]
AddThis Social Bookmark Button