drag-and-drop

Does HTML5 allow drag-drop upload of folders or a folder tree?

I haven't seen any examples that do this. Is this not allowed in the api spec? I am searching for an easy drag-drop solution for uploading an entire folder tree of photos. ...

C# Perform drag drop between datagridrow to treenode and vice versa

Hi all, I have datatree (kind of folder tree) that each folder represend as node. Next to it, I have datagridview that each row in it represent the treenode content. What I need is to drag and drop node from the treeview to the datagridview and vice versa. Does anyone have an idea or reference of how to do it? ...

jQuery drag & drop works in html

Does jQuery drag & drop functionality work on HTML as well? I used button tags and used same drag & drop jQuery function to get it work. But unfortunately it does not work? Is it possible to call drag & drop functions for HTML buttons? I would be glad if you can help me. Here is the code that I used for that. alert("inside script"); $(...

HTML5 Drag and Drop for precise placement

All, We are looking to use HTML5 Drag 'n drop in our web-application, however, we need precise drop of items, not just a drop in the broad basket. As an example, we will create an icon and the user has to precisely place the icon in the canvas (or SVG) frame. In the background we will record the X Y co-ordinates where the item was plac...

Scrollview and image dragging issue

I have a scrollview that has a number of custom imageviews in it. I use the custom imageviews as I need to be able to drag any one of them off the scrollview and to another location on the iPad screen, bit like a photo picker. Problem is if I want to scroll the scroll view most of the time the custom imageview gets the touch and moves ...

WPF: After adding a new row why aren't my bound controls updating?

I'm using wpf drag and drop databinding to datasets. I generate a new datatable row using the AddNew method of the BindingListCollectionView. I set values on the new row and call CommitNew on the BindingListCollectionView. I expect to see my assigned values in the bound controls but they are all blank. If I save the changes to the databa...

silverlight drag and drop collision detection

Hello everyone, I am trying to develop a simple prototype app with the following requirements: click and drag multiple elements highlight valid containers for dragged element(s) on mouse move a "snap-to" feature when the dragged element(s) are placed inside the valid container element remains in container if mouse is released with obj...

How do I get IDropTarget to work with my Drop Handler in Delphi?

I have associated a file extension with my Delphi 2009 program. I have been using the command line call method to pass the filename to my Delphi program so it can be opened. However, I found that when selecting multiple files, and clicking on them all at once, it opens each file in a separate instance of my program. I asked about this...

Custom made win32 drag-drop, can't get change invalid (slashed circle ) cursor.

Hi, I've a quite difficult problem to explain but I will try my best. I've made a custom drag-drop implementation to a win32 GUI based application. Due to limitations of the program I can't use the proper OLE drag-drop mechanism. Its okey, I made my own with mouse key tracking and it works so so. The only problem I can't solve now is t...

drag and drop uploading in a multipart form with data in other input elements

There is a form with enctype="multipart/form-data". In the form, there are several input text fields, a file field and a "save" button. I want to replace the standard html file field with a "drag-and-drop-uploading" widget. When a user drag and drop a file from the desktop to the widget, it shows the filename (and maybe other information...

Force LI to end of list with jQuery connected sortable lists using placeholder

I an using jQuery to create connected sortable lists to create a main menu for a website. The left hand list contains available pages and the right hand list contains the current menu structure. I am using placeholders to highlight the location where the user needs to drop the item. At the moment the user can add an item from the left l...

Rearranging a collection without Add/Removing items?

I have a TabControl that can be rearranged by dragging/dropping the tabs. The current process removes an item from the list and adds it to a new location. I had some performance issues switching tabs because of how complex the tabs are, so found an alternative which stores the rendered tabs and reloads them when requested. My only proble...

how can i trigger an event (function) when dragging one object over another using jQuery?

if i have: <script type="text/javascript" charset="utf-8"> function test(){alert('test');} </script> <div id="drag_object"> </div> <div id="drag_over"> </div> how can i trigger test() when drag_object is dragged over drag_over using jQuery? thanks :) ...

VB.NET Drag Drop If Object Implements Interface

I have to be missing something simple, but my brain is about to bleed on this. I have an interface, for the sake of argument called MyInterface. I Have a Control Class, lets name it "Parent" that implements MyInterface. I have another Control Class that inherits Parent, called "Child" I have a final Control Class lets call it "Contai...

jQuery Nested Droppables

I have a nested set of jQuery droppables...one outer droppable that encompasses most of the page and an a set of nested inner droppables on the page. The functionality I want is: If a draggable is dropped outside of any of the inner droppables it should be accepted by the outer droppable. If a draggable is dropped onto any of the inner...

JQuery UI clone Image ZIndex Problem..

the following is the code i am using to create a draggable object.But i am able to see the clone image only inside the same div where the image is located not inside other DIVs. Despite i am able to drop it and it works fine. Can someone help me. $(".image").draggable({helper: 'clone', scroll: false, zIndex: '500...

Draggable scrolling. How to scroll while dragging?

When I was starting to drag any element, mouse wheel scrolling is turned off, how to scroll while dragging? I'm newbie here, so I can't insert a picture, here's a link http://i.imgur.com/4tp69.gif ...

JavaScript - how to ignore minor dragging events?

Hi, I have a draggable image within a div. I can click on the image to bring up a pop-up menu, which works fine. Quite often when I click on the image I drag it by about 1-5 pixels, therefore on click event doesn't get fired up, instead, a dragstart event gets fired up, so the pop-up menu doesn't appear on the screen. Is there a way to...

Are there any jquery scripts that can do a Deviantart style drag and drop down?

I'm incredibly impressed by the favoriting system built into Deviantart. I'd link to a demo but you have to be logged into deviantart to see it. So I'll describe it. Basically it's a div or something that exists at the top of the page hidden. When you grab a picture (thumbnail or full size) and drag it toward the top of the screen, the...

Dropping a file onto a script to run as argument causes exception in Vista

edit:OK, I could swear that the way I'd tested it showed that the getcwd was also causing the exception, but now it appears it's just the file creation. When I move the try-except blocks to their it actually does catch it like you'd think it would. So chalk that up to user error. Original Question: I have a script I'm working on that I...