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. selecting the multiple items in the list box

selecting the multiple items in the list box

Scheduled Pinned Locked Moved ASP.NET
tutorial
2 Posts 2 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.
  • G Offline
    G Offline
    gottimukkala
    wrote on last edited by
    #1

    I have a listbox with multiple selection of languages. My list box contains 6 list items with "All, German, English, Seriban, Spanish, French". when I select German and English or any other language the list item "All" should not be selected (either it has to be grayed out or should not be selected, if the user tries to select). But now I could be anble to select the listitem "All" when I select other languaaes. Could any one tell me how to do this! Thanks

    C 1 Reply Last reply
    0
    • G gottimukkala

      I have a listbox with multiple selection of languages. My list box contains 6 list items with "All, German, English, Seriban, Spanish, French". when I select German and English or any other language the list item "All" should not be selected (either it has to be grayed out or should not be selected, if the user tries to select). But now I could be anble to select the listitem "All" when I select other languaaes. Could any one tell me how to do this! Thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      with javascript, handle the event of an item being selected and force the 'all' item to be unselected if necessary.

      Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

      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