drag-and-drop

Page element that accepts dragged item from favourites bar

What characteristics must a page element have for it to be able to accept an item that has been dragged from the favourites bar? ...

How can I customize drag-and-drop between two ComponentOne TreeView components?

I have two TreeView components in .NET web page. I want to drag-and-drop nodes from one tree to the other, but not vice versa. I also want to drag-and-drop items at a certain level (the lowest level), and drop them at a certain level (the second-lowest level). I have written custom code in Flex to do similar customization for drag-and-dr...

Drag and Drop along a diagonal line?

Are there any examples of a drag-and-drop solution in which the elements being dragged can only move along a slanted line? For example, constrain an element's draggability so that it can only be moved along a 30º line, or 10º, etc. Most examples I've been able to find only constrain the dragged element's area to either a vertical or ho...

XamDataGrid Treeview Copy

Hello, I have two XamDataGrids setup as treeviews. I am dragging and dropping from one to the other. I am only allowing one to have records deleted. But when you delete a record from one, it gets deleted from the other. I have tryed to clone the object, but I cannot find any method of doing so through out the datagrid's members. ...

JQuery nesting drag/drop

Is there a way to nest drag/dropables using jquery ui, without knowing how deep to nest the divs? This is what I have been doing. someElement .droppable({ greedy: true, accept: '.Content1', drop: function(event, ui) { $(ui.draggable).hide('explode', 1000); $(this).append(ui.draggable); ui.draggable ...

Drag and drop between 2 Jtrees

In my application I have 2 JTree controls in a JPanel. How can I transfer data between them, so that the items from the source tree are removed. ...

Desktop Namespace Extension in Windows 7: Unable to drag and drop

I have a program which makes use of a desktop Namespace extension. In Windows 2000, Windows XP, and Windows Vista, users can drag icons onto an icon on the desktop and the program is launched. However, in Windows 7 (both Home and Ultimate), all that happens is the icon order is rearranged. I tried using Sysinternals dbgview.exe. It ...

Drag and drop layout designer

Are there any tools (frameworks) to create web based layout desinger (something like in Visual Studio, but with html and javascript) - with drag and drop, ability to combine several html tags into one control, changing "control" properties on the fly (e. g. width, font, etc) and exporting layout into html (xml)? Looked at jQuery and ExtJ...

Existing Drag-and-Drop Application/Framework in Javascript

Does anyone here know of a Javascript application (something similar to Lightbox, only not for images) for drag-and-drop, preferably running on the Prototype Javascript Framework? Alternatively, I'm open to using jQuery or something else that's supported by the major browsers. ...

Wpf dragdrop, how to visually reject the drop during the drag?

During a drag in Wpf, how can the mouse cursor (or perhaps using an adorner) be changed to indicate that the droptarget will not accept the dragged item? I've tried to set e.Effects = DragDropEffects.None during the DragEnter event but this isn't working and I suspect that I've misunderstood what that feature should be used for. I've tr...

Is there a good jQuery Drag-and-drop file upload plugin?

Is there a nice tidy jQuery plugin that allows including a single JS script then using a simple snippet to enable a form? Something like this: $j('#MyForm').enableDragDropUploads('.upload-area') With the upload target being the action of the form. Any solution must not prevent a regular file field from being usable (using traditional...

Can't move treenode to listbox in c#

Hi: I am having a problem moving a treenode in a treeview to a listbox. The code is pretty straight forward. I just can't figure out why. Here is my code: In window form's constructor I have: this.ScriptTestTreeView.ItemDrag += new ItemDragEventHandler(ScriptTestTreeView_ItemDrag); this.ActiveScriptListBox.DragEnter += new DragEventH...

How can I grab an image dragged from Firefox?

Based on this drag/drop article: http://delphi.about.com/od/adptips2005/qt/dropontimage.htm I'm trying to catch an image dragged from Firefox onto a TPanel, I've got something that nearly works, but when I go to copy the file (that I thought would be temporarily created), the file did not exist, what did I miss? procedure TformMain.For...

jquery - rearranging elements on a page using dropzones?

Hi there, Anybody come across a good plugin or code to allow you to rearrange elements on a page using drap and drop and dropzones? iGoogle and windows live does similar things.... Be nice to be able to drag and drop and close an element - add new elements.. And persisting this somewhere, i presume in cookies or an external db? I t...

Drag and Drop compressed files from swing to native [update]

Hi, I am trying to move files from a compressed archive to the native system (basycally, windows' eplorer) through drag and drop operations. My only idea at this moment is to create a TransferHandler, which, when launched, will decompress the file in a temporary directory and set up that file as Transferable. Here is a snippet of cod...

COleDataSource/COleDropTarget cancel drag&drop operation

I have implemented my custom drag&drop by deriving from COleDataSource and COleDropTarget. Everythings work fine but I have an scenario that makes the application crashes. That happens when the dialog where the drag&drop controls are placed is destroyed while the user is in the middle of a drag&drop operation. This is not usual because ...

Darg n Drop from ListBox to Telerik Scheduler in ASP.NET

I am using a Listbox and Telerik Scheduler in my web page. I need to drag an item from listbox to scheduler control. How can I do that? ...

Incorrect item gets selected when starting a drag on an item in an ItemsControl

I am implementing a DragDrop framework for WPF (which incidentally you can find here). I have a problem in that when the user MouseDowns on an ItemsControl we don't know immediately if they intended to click the item to select it, or to begin a drag. If the user clicks an item and then quickly moves the cursor, another item other than t...

How to enable Drag & Drop for all the children controls

Hello, My situation is as follows, I have win-forms applications with DockPanel Suite and lots of controls, which cover the entire screen, I want to enable D&D of files from the windows explorer to the application. I know how to implement the D&D, but it seems that if i enable it for the main parent form, only the applications title-ba...

AS3 - Child moves parent using startDrag

I have a MovieClip instance which can be moved around the stage using startDrag() and stopDrag(). The instance also has some child MovieClips using addChild(). The parent moves the children when dragging, which is fine. The children have there own startDrag() and stopDrag() which should apply only to the child object, however it also mov...