Click to See Complete Forum and Search --> : Multiple Selection in Select Object in HTML


Pramodp
October 21st, 2000, 08:20 PM
Hi ,

I would like to select multiple value in 'Select' object in HTML. Right now if I set 'Multiple' property of the 'SELECT' object then the 'SELECT' object is becoming List Box....which is not desired. 'SELECT' object should remain as a Dropdown Select Box and should allow multiple selection.

I'm using Visual Interdev 6.0,IIS4.0 and ASP 2.0

Immd response is appreciated.

Thanks in advance.

Pramod

Johnny101
October 23rd, 2000, 02:25 PM
by design, the drop-down style does not support the multpile selections. there is no way around this that i've ever seen.

sorry,

john

John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org

JimASP
October 26th, 2000, 04:51 AM
Try this
StartTag SELECT NAME="Type" SIZE="2" MULTIPLE="MULTIPLE" EndTag
StartTag PTION VALUE="1" EndTag First StartTag /OPTION EndTag
StartTag OPTION VALUE="2" EndTag Second StartTag /OPTION EndTag
StartTag OPTION VALUE="3" EndTag Third StartTag /OPTION EndTag
StartTag /SELECT EndTag

It isn't exactly a drop down list, but it is a near as makes no difference
StartTag = greater than symbol
EndTab = Less than symbol