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. Drag and drop Files from Windows explorer to List box

Drag and drop Files from Windows explorer to List box

Scheduled Pinned Locked Moved Web Development
question
4 Posts 3 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.
  • R Offline
    R Offline
    ram1974
    wrote on last edited by
    #1

    Hi all, I am trying to develop a web application in which I want to have a list box in a form. It should be able to drag and drop the files on to it. It should just capture the file name with the path. I am able to do this in a Windows application, by setting the "AllowDrag" property of the list box to true. How can I achieve this in Web application? For the matter of fact I just want to capture all the names of the files that are dragged on to the form. It need not be list box alone. any other control will also do. Any ideas please. Thanks you all in Advance. -Ram

    J 1 Reply Last reply
    0
    • R ram1974

      Hi all, I am trying to develop a web application in which I want to have a list box in a form. It should be able to drag and drop the files on to it. It should just capture the file name with the path. I am able to do this in a Windows application, by setting the "AllowDrag" property of the list box to true. How can I achieve this in Web application? For the matter of fact I just want to capture all the names of the files that are dragged on to the form. It need not be list box alone. any other control will also do. Any ideas please. Thanks you all in Advance. -Ram

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

      Sorry, but it's not possible to do that in a standard web page

      R 1 Reply Last reply
      0
      • J Johnny

        Sorry, but it's not possible to do that in a standard web page

        R Offline
        R Offline
        ram1974
        wrote on last edited by
        #3

        Hi, Is there any work around? or using AJAX is it possible? or Can I call a Windows application from a web application and get the file names using DB or through session? -Ram

        modified on Wednesday, December 19, 2007 3:56:48 AM

        M 1 Reply Last reply
        0
        • R ram1974

          Hi, Is there any work around? or using AJAX is it possible? or Can I call a Windows application from a web application and get the file names using DB or through session? -Ram

          modified on Wednesday, December 19, 2007 3:56:48 AM

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          ram1974 wrote:

          using AJAX is it possible?

          No.

          ram1974 wrote:

          Is there any work around?

          If you are using Flash or ActiveX and the user of your side added your side in trusted list in IE then it's possible..

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

          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