CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2000
    Posts
    2

    Multiple Selection in Select Object in HTML

    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


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Multiple Selection in Select Object in HTML

    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
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  3. #3
    Join Date
    Oct 2000
    Posts
    3

    Re: Multiple Selection in Select Object in HTML

    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



Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured