Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. multiple selection

multiple selection

Scheduled Pinned Locked Moved ASP.NET
tutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jeffrey kalampukattussery
    wrote on last edited by
    #1

    hai friends, i displayed some name in a list box..when i click on that name that will display on text box..that is working...i want select multiple name..eg:one name we already selected...den put a comma on text box..then we click on the name,that will display on text box followed by first one..how to do this

    E S 2 Replies Last reply
    0
    • J jeffrey kalampukattussery

      hai friends, i displayed some name in a list box..when i click on that name that will display on text box..that is working...i want select multiple name..eg:one name we already selected...den put a comma on text box..then we click on the name,that will display on text box followed by first one..how to do this

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      To select multiple names in a listbox just hold down the CTRL button and click the items from the list

      V 1 Reply Last reply
      0
      • E eyeseetee

        To select multiple names in a listbox just hold down the CTRL button and click the items from the list

        V Offline
        V Offline
        VanithaVasu
        wrote on last edited by
        #3

        Set the Selection Mode property to ' Multiple ' and then u can select multiple item by pressing Ctrl Key

        VanithaVasu

        1 Reply Last reply
        0
        • J jeffrey kalampukattussery

          hai friends, i displayed some name in a list box..when i click on that name that will display on text box..that is working...i want select multiple name..eg:one name we already selected...den put a comma on text box..then we click on the name,that will display on text box followed by first one..how to do this

          S Offline
          S Offline
          squattyarun
          wrote on last edited by
          #4

          HI 1)Set selectionmode="multiple" of list box to enable multiple selection. 2) You can select multiple names using ctr+mouseclick. 3)To retrive all selected names from listbox you can use: Request.Form("listbox_Name").ToString() function, which will return all selected items in a listbox into a string. :laugh:

          Arun Singh Noida.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups