drag-and-drop

Drag and drop a html table into another application

I'm having a problem dragging an html table from my C# winforms application into an external application (Outlook email message) and getting it to render as a table instead of a plain text version of that table. I know that when you copy/paste in the clipboard you have to put the table in CF_HTML format but that doesn't seem to help with...

C# Detect Desktop Folder Mouse-Up during a Drag operation ?

< I have reviewed the "related questions" shown by SO before posting this > Scenario : Drag and drop initiated from a control within a WinForm. note : all drag and drop code validated, carefully tested. I can use the code right now to create/write a file to the Desktop when the mouse is released. Drag goes outside the Form, mouse goe...

How to handle drag and drop from a WebDAV folder (SharePoint in Explorer)

Hello, I've opened a Windows Explorer window to show the content of a SharePoint folder (using WebDAV). I pick a file and drag it into a Windows Form (C#). However the DragEventArgs doesn't contain full information about the file. How can I get the file URL (and not only its name), or its content? Thanks! ...

Drag and drop sorting of table columns with jQuery

I'm using jQuery to drive my AJAX UI. I have a table of data, and I want to allow the user to reorder the columns in the table by dragging and dropping them. I'd like the user to be able to grab the header for a column and move it. The row of data underneath should follow. Note that I'm not interested in sorting the data or in reordering...

JQuery draggable element with image - problems dragging in IE and Chrome

I have divs that are defined as draggables. The divs contains one image and some text each. Dragging works perfectly in Firefox and Opera, but in Chrome and IE I can only start the drag by mousedown on the text, not the image. When I mousedown on the image in IE and Chrome, the built in html element drag-drop browser function kicks in - ...

Whilst using drag and drop, can I cause a Treeview to Expand the node over which the user hovers?

In brief: Is there any built-in function in .Net 2.0 to Expand TreeNodes when hovered over whilst a Drag and drop operation is in progress? I'm using C# in Visual Studio 2005. In more detail: I've populated a Treeview control with a multi levelled, multinoded tree (think organisational chart or file/folder dialog) and I want to us...

How to Sort a list after drag/drop in FLEX

There are 3 lists where dragenabled,dropenabled,dragmoveenabled.I need to sort the list based on the last name after dragcomplete. I tried this using sort function. But sorting is happening after 2nd drag from each list(not at the very first). Someone please please help me in solving this. Thanks & Regards Sree nidhi ...

No-code or little-code website

What is a (free) technology which requires the least amount of code for creating a website with the following requirements: Sign-up/login Form for adding your personal info. which gets databased Each person can view and edit their own info Admin can view and edit any The form needs to be easily customizable and extensible (by the websi...

WPF DoDragDrop DragSource

Hi, The WPF DragDrop.DoDragDrop method has its firs paramter as DragSource. Is it way you can obtain this DragSource object in the OnDrop or other drap Drp events? Thanks ...

Re-Focus Browser in Javascript when Dragging File from Desktop

Hey there, When I drag a file from the desktop to the browser, and I keep the browser in focus (Safari or FireFox for now), I know everything works right (dragging, having the app respond, etc.). I am also able to un-focus the browser, by clicking on my desktop for example (keeping the browser in view), and when I drag the file to the ...

User jQuery to drag a DIV and drop in a TD ... and have the DIV "snap" into place

I am finishing up a rewrite of task management system, and am in the process of adding drag and drop capabilities. I want the user to be able to drag a task DIV from one column (TD) and drop it in another column (TD). I have this working correctly, save for some minor formatting issues. I have the TD with a class called droppable tha...

Drag & drop with .ui files

Hi, I'm having big troubles with drag & drop. I've created a new Qt Designer Form Class in which I have one QListWidget and one QWidget. Now I want to enable dragging & dropping between these two widgets. The problem is, where can I add dragEnterEven(...), dragMoveEvent(...) etc. functions? I only have these class.h, class.cpp and clas...

How do I handle dragging of a label in C#?

I'm trying to build a form where the user can drag a label and drop it on a text box. I can find an AllowDrop in the text box, but there is no property such as "AllowDrag" in the label. Also, I created methods for all the drag & drop events for the label (DragEnter, DragLeave, etc) but none of them seem to work. I can not figure out how ...

Detect drag and drop operations in an external application using .Net

I need to detect drag and drop operations in an external application, is it possible? I thought of writing a hook to detect these operations. Can anybody point me in the right direction as far as which messages or api functions I could attempt to hook to detect the Drag & Drop events? I want to do this in C#. Thanks in advance. ...

jQuery Drag and Drop UI Limit Container Hover 1 IMG

I am trying to build a basic drag and drop print friendly photo gallery. I want to allow users to take 10 photos, arrange them anyway they want, then print them out. The code below does the basic drag and drop putting the photos/img into a div, but I can not limit the div to only accept 1 photo. How can I fix it so when the img hovers ...

WPF textbox derived control override drag&drop OnPreviewDrop (C sharp)

Hi, I have been working on my custom control derived from the TextBox and I have encountered a problem I can not solve right now. Brief description of the problem: my textbox contains plain text which contains tags which I want to keep consistent - so far I have overriden text selection so they can be selected only as a whole tag etc. R...

How can I reproduce the Firefox faded image/text dragging effect in .NET?

Ok, I know this is probably a pretty newb question, but when it comes to graphics programming, I am a newb :) How does Firefox achieve the drag and drop effect while displaying the nice faded copy of the selected image or text? See below for an example with the SO logo. Also, how could I reproduce this effect in C#/VB.NET? (preferably ...

C# Drag and Drop between 2 Different Controls

We have a ListView control which triggers the DoDragDrop method. We have another control which is a TreeView control which has a DragDrop method. The problem is that the DragDrop method's sender parameter is not the ListView, despite the fact that the ListView initiated the DoDragDrop method. Instead, the sender is the TreeView itself. A...

Flex Datagrid Drag and Drop into Cell

Hi all, I am creating an application that will allow users to model configuration information by allowing them to Drag and Drop objects from a Flex Tree into a DataGrid. I know that both the Tree and DataGrid both support Drag and Drop quite well. My problem is that I want users to drop items from the Tree into a particular Datagrid ce...

jQuery Disable/Enable status of Droppable/Draggable

I tired to explain this yesterday, but I don't think people understood it. I posted up the code and example at http://www.whatevercorp.com/problem/ I haven't worked with jQuery in a while, but have search everywhere for a disable('enable')/disable example or a way to change droppable status on the fly. Basically I have 2 questions: ...