drag-and-drop

How to start to implement a drag and drop between different processes?

The application that I am developing is a windows form application written in C#. It has a treeview on it. Each of the treeNode stores some data. What I want to do is to open two copies of the application, drag some of the treenodes from one application and drop to another. The data the treenodes store should be transferred to another a...

Make table rows sortable with YUI

Currently I have a table similar to below: <table id="tbl"> <thead> <tr><th>Example Title</th><th>Title2</th></tr> </thead> <tbody id="tblbdy"> <tr><td>data1</td><td>data2</td></tr> </tbody> </table> I am using script.aculo.us currently with the code: Sortable.create('tblbdy', {tag: 'tr', ghosting: fa...

To MVVM or not to MVVM that is the question

Hi I am rewriting my windows forms based application and I am going to use WPF. The application relies heavily on drag and drop techniques, in a very graphically environment. The uses "Design" reports etc. by dragging elements onto a grid, moving them, right click setting properies etc. all of which is saved to a database. Also control p...

Preventing click event with jQuery drag and drop

I have an elements on page that are draggabe with jQuery. These elements have click event wich navigates to another page (ordinary links for example). What is the best way to prevent click from firing on dropping such element, while allowing clicking it in not drag and drop state? I have this problem with sortable elements, but think i...

c# Drag and Drop from my custom app to notepad

Hello, I have a custom app which needs to support Drag and Drop. On Dragging the grid in my app, in its DoDragDrop method I have provided the object to be dropped in a serialized format. When the drop is to one of my apps, it is able to deserailize the string and create the object. What I want to do is allow the source app to be able t...

Gwt Graphics and ClickHandler

Hi, I am using gwt graphics and gwt dnd for a program. I have a button which when clicked creates a circle at specified position on the panel and the circle is draggable. For dragging i have used gwt-dnd. I have also added a click handler to the circle which when click should print "ERD Circle". Here is the code layout: Button b = ne...

Adobe Air: Drag causes weird Application Crash

Hey, this is weird: I created a mx:List and using an mx:Canvas with some Items as ItemRenderer. Everything works fine, the List is displayed correctly. Now I set dragEnabled="true", dropEnabled="true" and dragMoveEnabled="true" to archive the ability to reorder my Items via Drag and Drop. But as soon as I start to Drag an Item the whole...

Where to get the "latest" ASP .NET Preview DLL and Script

I have been trying to download the ASP .NET AJAX Futures but I can only see old versions of the DLL via sample tutorials from other websites. I need the DLL to use the Drag and Drop feature according to these tutorials. I know the tutorial is already old but I was wondering if they are still supported? (Microsoft.Web.Preview.dll, Preview...

Drag & Drop performance issue inside Table date which is built dynamically using ASP

How to achieve droppable events on mouseover of each items instead of binding it to all events at beginning. If you can provide with an example code will be great. I googled but there is no hope or solution for the same. ...

Drag-and-drop accordion panels? (ASP.Net)

Hello, I have a set of accordion panes(dynamically created) contained in an Accordion control. Basically, what I am wanting is for the user to be capable of dragging these accordion panels so that instead of A pane B pane C pane They can drag and drop it to be something like B pane A pane C pane Or whatever. Also, more importantl...

Drag and drop between two user controls

Hi, I have a user control which has a TreeView control in it as flowing... <Grid> <!-- Tree View --> <TreeView Name="devices" ItemsSource="{Binding Entities}" AllowDrop="True"> <TreeView.ItemContainerStyle> <Style TargetType="{x:Type TreeViewItem}"> <EventSette...

C#: Drag drop controls on surface

Is there a way that one can make a control, such as a textbox, drag-droppable in C#? I want the user to have the ability to click and hold the control with the mouse and drag it around on its surface and drop it anywhere within that surface. Anyone has any idea how to implement this? ...

DragManager problem when loading flex app into flash app

I have a flex application which use DragManager. When I'm loading this application into flash application and trying to use drag'n'drop functions - I get an error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::CursorManagerImpl/showCurrentCursor() at mx.managers::Curs...

jQuery Drag And Drop Using Live Events

Hello. I have an application with a long list that changes frequently, and I need this the items of this list to be draggable. I've been using the jQuery UI draggable plugin, but it is slow to add to 400+ list items, and has to be re-added every time new list items are added. Does anyone know of a plugin similar to the jQuery UI dra...

Require help to implement drag from Java Application and drop to Native File System

I have a Java Swing application which shows a list of the files/Folders that have been uploaded to the server. I have a requirement to download selected file(s)/folder(s) to native file system using Drag and Drop . I have searched links but almost every link describes the Drag and Drop within a Java Swing application. My requirement is t...

Can I override the default "Drag and Drop" behaviour when dragging email item from outlook?

After dragging email item from outlook, my own application (written in C#) can get the data and retrieve the msg data when the email item is dropped on it. But is it possible to override the default "drag and drop" behavior so that I can send some information else (rather than the default information) when dragging an email item and pick...

Drag and drop bug?

<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-ui-1.7.1.custom.min.js"></script> <script> $(function(){ var $container = $('#container'); $(".obj").draggable({ cursor: 'move', helper:'clone', scope:'mydrag' }); $container.droppable({ accept: '.obj...

Dojo DnD Move Node Programmatically

I would like to know if there is a way to move the node programmatically in dojo Dnd? The reason is I would like to revert the changes to the drag and drop when the web service call triggered a failed save on the database. Here is what I have so far. In my code, the node Id seems to be unrecognized by the dojo.dnd.Container.DelItem. I c...

dragStart on draggables repeatedly called in jquery?

Ok. So I'm going to go out on a limb and presume that a draggables "start" event gets fired again after the movement has stopped and user starts moving again, even if hasn't been dropped yet? The main issue is I want my draggable to create my droppables depending on having an odd or even class. But I'm afraid the user may start draggi...

droppables not being created on drag start

trying to create my droppables based on the object being dragged. the drag works fine, but the droppables are not being created. there also aren't any errors in the error console. any help? JS: $("#theSchedule, #theExtras").live('mouseover', function () { $(".curSelected").draggable({ helper: 'clone', opacity: 0.50,...