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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Drag and drop and Ajax?

Drag and drop and Ajax?

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminhelptutorialquestion
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
    AndyBrew70
    wrote on last edited by
    #1

    Hi I have implemented some drag n drop functionality using the example by WickedCode with their colour dragger, the dragging and dropping works perfectly however.... I have implemented a callback facility using so that when the user drops the object on its target I can perform the relevant update on the server refresh the screen and continue and this is where the problem lies. After the callback has completed my drag and drop no longer works! I'm guessing it something to do with the Javascript code gaining a reference initially to the drag and drop objects but then when I perform the callback those objects get recreated within the updatepanel and although they have the same id the reference is obviously lost?? Has anybody got any references, links to helpful documentation on this subject as it seems quite sparse! Thanks in advance Andy

    N 1 Reply Last reply
    0
    • A AndyBrew70

      Hi I have implemented some drag n drop functionality using the example by WickedCode with their colour dragger, the dragging and dropping works perfectly however.... I have implemented a callback facility using so that when the user drops the object on its target I can perform the relevant update on the server refresh the screen and continue and this is where the problem lies. After the callback has completed my drag and drop no longer works! I'm guessing it something to do with the Javascript code gaining a reference initially to the drag and drop objects but then when I perform the callback those objects get recreated within the updatepanel and although they have the same id the reference is obviously lost?? Has anybody got any references, links to helpful documentation on this subject as it seems quite sparse! Thanks in advance Andy

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Possibly this will be helpful. http://docs.jquery.com/UI/Draggable[^]


      only two letters away from being an asset

      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