Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


JQuery :: Drag And Drop Listbox?

I hav two listboxes, how can i drag and drop between these two using jquery

View 4 Replies (Posted: Mar 04, 2011 07:29 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Web Forms :: .NET 2.0 ListBox Control - Looking For Drag & Drop Between Two Listboxes And To Re-arrange In The Same Listbox
All, I'm new to web programming & I have a requirement where i need to be able to drag and drop items in listbox to re-arrange in the same listbox and then to select a item and to move to another listbox on a web form.

Posted: Dec 07, 2009 07:54 PM

View 2 Replies!   View Related
Web Forms :: Treeview With Drag And Drop From Listbox?
Users want to have the ability on apage to have a treeview with hierarchy that can be updated by dragging and dropping from a listbox.They can draga change request from the listbox and drop it on the treeview as a parent request or a child of one of the treenodes. There also needs to be the abililty to drag and drop from within the treeview. With all the changes being done, the itemfrom the listbox would also need to have a field changed to either Parent = 'Yes' or IsChildOf = parent id. My first question is;

1) Is all of this possible?

2) Know of any samples or examples of howthis would be accomplished?

3) Is there a better way of doing the hierarchy with parent and children then mentioned above (I hope there is)?

4) What have others done for something like this?

I am open to other thoughts of doing this a better way and I'm sure the users can be persuaded. Prepping for a Accessconversion project beginning of year. And if this conversion from A2007 to ASP.NET goes well, there is another major conversion waiting in the wings.

Posted: Oct 27, 2010 10:21 PM

View 2 Replies!   View Related
Web Forms :: Drag And Drop In Listbox Items?
Iwant to know how to handle drap and drop event between two listboxes.I have two listboxes. IfIdrag one itemfrom one listbox, it will drop on otherlistbox.And also let me know how to rearrange the items in listbox.

Posted: Mar 30, 2010 09:33 AM

View 3 Replies!   View Related
Web Forms :: How To Drag And Drop Highlighted Text To A ListBox Item
I've figured out how to drag and drop from list box to list box and treeview to treeview. Is there anyway to highlight text in a textbox and drag it to a list item in the listbox. So every item dragged to a listitem will have ListItem(1), then if two items are dragged it would be ListItem(2), etc. Also, is it possible to drag items off of a ListBox control so they won't appear anywhere?

Posted: Oct 29, 2009 07:00 PM

View 1 Replies!   View Related
JQuery :: Link Button OnClick Event Does Not Fire On First Click After Jquery Drag And Drop?
I have a link button in a repeater control. the li element is drag and droppable using jquery. when the page loads the the link button works perfectly, the jquery that is attached and the server side code both execute. when I perform a drag and drop then click on the link button it doesnt not fire. when i click it a second time it does fire. If i perform 2 or drag and drops in a row the link button doesnt fire a as many drag adn drops as i before it will fire. for example if if perform 3 drag and drops then it will take about 3 click before the events are fired.


Posted: Dec 24, 2010 06:25 PM

View 4 Replies!   View Related
JQuery :: Drag And Drop Using Jquery In Repeater / Datalist?
My scenario is to drag an item from a repeater/datalist to another repeater(preview repeater). The preview repeater already contains some icons in some positon(for eg. in 1st and 4th items). I need to insert the icon to empty positions(2nd, 3rd and 5th items) in preview repeater.

Posted: Jan 21, 2011 12:15 PM

View 4 Replies!   View Related
Drag And Drop UI Layouts Using JQuery
For our next project (a small app in ASP.NET/C#) we have to create drag and drop zones in the UI so that components/widgets can be dragged and dropped and layouts can be changed dynamically (for example, the user should be able to switch between two-column to a three-column layout from the front end). After doing some searching, I got to know that there are two approaches: Use Web parts and Content-zones. Using jQuery.

I also learnt that jQuery approach is preffered, but I would like to know how can I create such zones in my application and also save these zones per user (in the D so that when the new request comes for that user their preferred layout is displayed? I basically want to know if there are some tutorials on creating persistable drag and drop zones using jQuery.

Posted: Feb 17 at 7:08

View 3 Replies!   View Related
How To Call Jquery Drag And Drop Function
his function takes an li element and adds it to another ul element. After this code is fired the jquery events attached to the children spans of the li element do not fire the first time they are clicked.

Posted: Dec 28, 2010 12:15 PM

View 2 Replies!   View Related
JQuery :: Get Video Path During Drag And Drop?
I want to perform drag and drop operation on video file ,in which i want to make video carosual for all video and drag the video to the main player and play on main player.

Posted: Dec 23, 2010 04:39 AM

View 2 Replies!   View Related
Drag Drop Switch Content JQuery?
I want to make content switch say there are3 items..Item 1, Item2, Item3 in datalist and if i drag Item 1 to item 3, the content will interchange..."item 3" will go to "item 1" and "item1" to "item 3" What code do i write in drop function. Here is my code. Is this even possible?

<link href="" rel="stylesheet" type="text/css"/>
<script src=""></script>
<script src=""></script>[code]....

Posted: Aug 16, 2010 06:59 AM

View 4 Replies!   View Related
JQuery :: Implement A Drag And Drop Feature Into Website
implementing a drag and drop feature into my website. I was wondering if anyone has any good examples on how this can be done?

Posted: Feb 13, 2011 09:39 PM

View 3 Replies!   View Related
JQuery :: Developing Interface With Drag And Drop Like Igoolge
I need to develope interface something like IGoogle with drag and drop of boxes in ASP.Net 2.0. The interface should support cross browser compatibility.

Posted: Jul 16, 2010 01:32 PM

View 1 Replies!   View Related
JQuery :: How To Upload A File Using Drag And Drop From Windows To Browser
I would like to ask we select a file in our system and drag that file into browser, drop that file into particular location of the browserat that time the file is to upload.

Posted: Mar 04, 2011 10:36 AM

View 4 Replies!   View Related
JQuery :: Drag And Drop Treeview Node To Textarea In Web Forms?
We have an treeview control and a texarea. The childnodes of treeview need to be draggable and can be dropped into txtarea.

Posted: Sep 08, 2010 06:37 PM

View 2 Replies!   View Related
Web Forms :: Onclientclick Onclick Method Does Not Fire After A Jquery Drag And Drop?
I have a linkbutton whose onclick method does not fire after a jquery drag and drop, the onlclientclick does work. Y would the server side code not work only after a jquery drag and drop?

Posted: Dec 27, 2010 01:29 PM

View 4 Replies!   View Related
Save The Order Of List To The Sql Server Database In Jquery Drag & Drop
I wanna save the order of my list to the sql server database in jquery drag & drop using c#. How can I do this?

Posted: Nov 5 10 at 12:57

View 1 Replies!   View Related
Implement Drag And Drop?
I want to implement some drag and drop behaviors in my ASP.NET app. Could someone point me in the right direction for some articles and samples? For example, one example of drag and drop I want to implement is for sorting things.

Posted: Feb 02, 2010 03:21 AM

View 4 Replies!   View Related
AJAX :: Drag And Drop In 3.5
Is this included in 3.5 now? Or in 4.0?

Posted: Aug 25, 2009 01:26 PM

View 2 Replies!   View Related
Web Forms :: Drag And Drop Between 2 Using VB
I currently have two listboxes and I use arrow buttons to move items from one list to another.Is there a way I could implement drag and dropping between those 2 listboxes.

Posted: Jun 04, 2010 01:49 PM

View 3 Replies!   View Related
Web Forms :: Drag And Drop Between ListBoxes?
I would like to make it possible to drag-and-drop items between 2 listboxes (data provided by Sqldatasources)on a webform. Is this possible without java but with vb? I use the Visual Studio 2005 Professional/ with vb-code behind. Example-code or link to a usefull website would be nice.

Posted: Oct 22, 2009 05:32 PM

View 1 Replies!   View Related
Web Forms :: Drag And Drop Between Two Controls?
Anyone who can give me a tip on articles explaining how I can implement a drag n drop functionality between two asp controls? I'm using 3.5.

Posted: Mar 24, 2010 04:03 PM

View 1 Replies!   View Related
Web Forms :: WebPart Drag And Drop?
I cannot get the Drag and Drop functionality of Web Parts is to work. I have a very simple test page with two WebPartZones.. In the OnInit method of the code behind I put the page in design mode. In the first zone I have a textbox.At runtime the text box renders as a web part.When I hover over the web part header my mouse pointer changes the 'move' pointer, but I cannot drag the item.I do not see it dragging and the part never moved. I am using Visual Studio 2010 with IE 8. I have tried IE8 in compatibility mode and regular mode.The results are the same. Here is the markup from my test page:

<form id="form1" runat="server">
<asp:WebPartManager ID="WebPartManager1" runat="server">
<asp:WebPartZone ID="LEFT" runat="server">
<asp:TextBox ID="tb" runat="server" />
<asp:WebPartZone ID="RIGHT" runat="server">
<asp:EditorZone ID="EditorZone1" runat="server">

Here is the code behind:

protected override void OnInit(EventArgs e)
WebPartManager mgr = WebPartManager.GetCurrentWebPartManager(this);
mgr.DisplayMode = WebPartManager.DesignDisplayMode;

What am I missing?

Posted: Feb 17, 2011 08:16 PM

View 2 Replies!   View Related
Drag And Drop File Upload
I want to implement the file upload in 2.0 like drag and drop. that is instead of browse thr file the user is requested to drag a file from local system into the browser and it will upload to server automatically. how to do this in 2.0 using c#.

Posted: Jul 30, 2008 06:22 AM

View 3 Replies!   View Related
Drag And Drop - Able Organization Chart
I have to generate an organization chart, in my application and it should supports drag and drop feature to update the linkage between organization structure. What would be the best way to deal with it, (jQuery or silver light or .net chart controls). My primary needs is to support drag and drop.

Posted: Jul 26 10 at 7:13

View 4 Replies!   View Related
Drag Drop Items Within ListView
I have a listview showing images like ImageViewer and I want to implement Drag-Drop behavior within ListView. how can i achieve the Srag-Drop inside the below kind of customized ListView.

<asp:ListView ID="lvPhotoViewer" runat="server" GroupItemCount="3" InsertItemPosition="LastItem">
<table id="groupPlaceholderContainer" runat="server" border="1">
<tr id="groupPlaceholder" runat="server">
<td id="Td4" align="center" style="background-color: #eeeeee;">
<asp:Image runat="server" ID="imPhoto" Height="100px" Width="100px" ImageUrl='<%# "~"+Eval("PhotoUrl") %>' />
<br />
<asp:Label ID="DefaultPhotIDLabel" runat="server" Text='<%# Eval("PhotoName") %>' />
<tr id="itemPlaceholderContainer" runat="server">
<td id="itemPlaceholder" runat="server">
<td id="Td3" width="150px" height="150px" runat="server" align="center" style="background-color: #e8e8e8;
color: #333333;">
<asp:FileUpload ID="fileUpload" runat="server" />
Code Behind:
public class ImageEntity
public string PhotoName { get; set; }
public int PhotoIndex { get; set; }
public string PhotoURL { get; set; }
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
IList<ImageEntity> imagesList = new List<ImageEntity>()
new ImageEntity(){ PhotoName="House1", PhotoIndex=1, PhotoURL= @"ImagesHouse-01.JPG" },
new ImageEntity(){ PhotoName="House2", PhotoIndex=2, PhotoURL= @"ImagesHouse-05.JPG" },
new ImageEntity(){ PhotoName="House3", PhotoIndex=3, PhotoURL= @"Imageshouse.jpg" },
new ImageEntity(){ PhotoName="House4", PhotoIndex=4, PhotoURL= @"Imageshouse2.jpg" }
lvPhotoViewer.DataSource = imagesList;

Posted: Mar 11 at 13:34

View 1 Replies!   View Related
Drag And Drop Between Multiple ReorderLists?
I have two reorder lists on my page and what I am trying to do is allow my users to drag from one list to another list.

Basically its a priority list so list one is high and list two is low and the user can move them between the two.

Now they will work independantly but I can't change them from one list to another.

Posted: Feb 11, 2011 02:09 PM

View 2 Replies!   View Related
Drag And Drop Image On GridView?
How can i drag and drop image from panel to DataGridView?

Posted: Feb 07, 2011 12:05 PM

View 5 Replies!   View Related
Web Forms :: Drag And Drop The Controls On Fly
How to create tool Box like Dot Net where we can Drag and Drop the Controls on our Page on fly(run time).

Posted: Dec 22, 2009 11:35 AM

View 1 Replies!   View Related
C# - Drag And Drop A Child Node?
I had populated data in TreeView control. How will I drag a particular child node from a parent node and drop the dragged one to a DIV or any portion, using JQUERY ? I know in jquery, there are methods "draggable" and "droppable" to make this possible. But I want to drag a particular child node and drop it.

Or atleast How to fetch the text/id of a particular child node using jquery ? I hope I can drag,if I can fetch the child node

Posted: Jul 7 10 at 7:08

View 2 Replies!   View Related
Drag & Drop Email Into TextBox?
I have a prettybasic webpage that the user keys in some information, and if they have an attachment, they can browse to the attachment and click upload. I've just been thrown a curveball... instead of always just browsing to a file, they'd like the ability to drag and drop an email from Outlook into the webform as the attachment.

Posted: Apr 21, 2009 08:44 PM

View 6 Replies!   View Related
Drag & Drop Shopping Cart?
I am looking for a drag & drop shopping cart, which I can use with & can save the details in sql server 2005 database. I don't bother if it from ajax, javascript or jquery.Actually I have a grid, in which I am having picture, product name & price (say), so either I could be able to drag the row to the cart to add or increase the product quantity. or on click on the add to cart button, it will flow to the shopping cart.

Posted: Mar 24, 2010 05:56 PM

View 10 Replies!   View Related
C# - Allow Repeater To Be Arranged Using Drag-drop?
I have a repeater that's bound to a SQL Data Source (using ASP.NET). Are there any JQuery plugins/efficient way of converting my repeater into something that can be sorted via drag and drop? i.e. users can rearrange the order of the data, which updates the database?

Posted: Mar 31 10 at 18:19

View 2 Replies!   View Related
Forms Data Controls :: Loading A Drop Down Listbox With XML Data, Drop Down Is In GridView
I have a drop down listbox inside of a GridView control. I want the contents of the drop down listbox tobe populated from an XML file which I have read into a DataSet. If I trace through the debugger I can see that thexml file is read and stored in my dataSet correctly. Now I just need to point my dataSet object at my drop down listbox.So I tried and it seems to work correctly, except that the only text displayed in my drop down listbox is


Posted: Oct 30, 2009 08:30 PM

View 2 Replies!   View Related
Drag And Drop Information To Word Document?
Can someone show me how it is possible to prevent in VB.Net ASP, but not using Java Script, a user from dragging and dropping information from an asp page to a word document?

Posted: Apr 24, 2009 10:23 PM

View 1 Replies!   View Related
Web Forms :: Drag And Drop - Validate When Submitted
I came across this example [URL] I want to create a form that will be validated when Submitted. In the above example you can keep on dragging colored boxed on the Drop It Here area. When a form is submitted, I want to validate Drop It Here area to see if it is empty or user drop a colored box here. Is this possible to do and if so, how to do it. I tried regular validation coltrols and they didn't seem to work.

Posted: Mar 16, 2010 12:08 PM

View 1 Replies!   View Related
Web Forms :: TreeView To Panel Drag And Drop?
I have created a web page in 2.0 with C# coding. In this page I put a TreeView,a panel and a Textbox inside that panel. Now I want to drag a Node from the TreeView to that panel and then the Text of the TextBox will be changed to the drageed node text. So how can I do so?

Posted: Oct 29, 2009 02:59 PM

View 3 Replies!   View Related
Web Forms :: TreeView Drag And Drop Treenode?
Is there a way to make drag-and-drop between the control node of treeview ASP. Net. My treeview is composed of directories, subdirectories and files, How can change the position of the nodes, the relationship.

Posted: Nov 11, 2009 12:05 PM

View 3 Replies!   View Related
Web Forms :: Can't Position Image With Drag And Drop?
I am a C# application developerwith over11 years experience in software development,I have not done web dev for many years. Now that I am trying to do web development,all I want to do is place an image on my master page, but when I do it is at the top left. I cannot move thisimage to where I want it,how do I position an image with drag and drop?

Posted: Nov 19, 2009 04:41 AM

View 6 Replies!   View Related
How To Provide Drag And Drop Facility In Webpages
I have a small doubt.Can we provide Drag and Drop facility in websites like in desktop applications.

If possible how can we provide that facility in our web sites

Posted: May 8 10

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved