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. shifting items in b/w list boxes

shifting items in b/w list boxes

Scheduled Pinned Locked Moved Web Development
javascriptsysadmintoolshelpquestion
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.
  • A Offline
    A Offline
    azam316
    wrote on last edited by
    #1

    hi, i have 2 list boxes on my aspx page. i need to have a functionality that, whenever a user double clicks an item on any of the list boxes, it shifts to the other one. i am using a javascript for this purpose as there is no double click event provided. the script is working and the items do shift. but when a server web control such as a button is clicked, all shiftings made by double clicking revert. please help me. do i need to use viewstate? if i do, can anyone tell me how? if there is another way please do tell me! thanx in advance ☺«««DTA»»»☺

    J 1 Reply Last reply
    0
    • A azam316

      hi, i have 2 list boxes on my aspx page. i need to have a functionality that, whenever a user double clicks an item on any of the list boxes, it shifts to the other one. i am using a javascript for this purpose as there is no double click event provided. the script is working and the items do shift. but when a server web control such as a button is clicked, all shiftings made by double clicking revert. please help me. do i need to use viewstate? if i do, can anyone tell me how? if there is another way please do tell me! thanx in advance ☺«««DTA»»»☺

      J Offline
      J Offline
      JKroschel
      wrote on last edited by
      #2

      You can fake a double click event with javascript. Look here: http://www.chipchapin.com/WebTools/JavaScript/example3-01.html[^]

      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