AJAX :: Is It Possible To Have A Drag And Drop Reorder On A Gridview
Sep 20, 2010is it possible to have a drag and drop reorder on a gridview? The purpose is to reorder the items.
View 3 Repliesis it possible to have a drag and drop reorder on a gridview? The purpose is to reorder the items.
View 3 Repliesis it possible for reorder list to to allow user to drag n drop via column cell.
For example,
Column1 | Column2
------------------------------
Value1 |Value5
Value2 |Value6
Value3 |Value7
Value4 |Value8
Value 1 was drag n drop to the position of Value5. And Value5 ,Value6,Value7,Value8 position are reorder like Reorderlist in row.
I have tried several examples of reorder list with several types of data sources and can't get the list to reorder. I have copied Joe Stagner's code from his Video on Reorder Control with the same result. Here is the Video
http://www.asp.net/ajax/videos/how-do-i-the-ajax-toolkit-reorder-control. Page loads, but I can't drag items to reorder. I have tried this with explorer 8 and firefox 3.6, with and without security. Here is the markup, no code behind.
[Code]....
Some of the events don't seem to fire. DataBinding, DataBound, Load, and InsertCommand work ItemReorder does not, (not good for a reorder control). This control should work, but doesn't. I am able to insert data so it seems that the reorder or dragItem templates maybe causing problems. I have commented out but that doesn't help. Here is my only clue, I had to use the script manager from the .net4 Ajax Control Kit for my events to not complain about definitions. I was only using these events with debugger just to see if they are being called, no code in methods. But I am using the toolkit.dll that came with Joe's example. I tried it with .net4 only first, but that didn't work either that's when I installed the dll from Joe's example.
Is there a way to drag and drop the item in a listbox to reorder the sequence?
View 8 RepliesI have the same problem as Simon in this post. He found out some sort of a solution, but it does not work for me. Please, could someone explain me what is going on in this answer or advice me something else. PS: there is an example on the asp.net site which doesn't work exactly the same way as my reorder list... (click view a demo) The solution that is suggested here adds these few lines to web.config:
[Code]....
Perhaps I just need to change something to make it work... but I don't know what. For example I have no idea what the ScriptResource.axd is supposed to be. My code: .aspx file
[Code]....
and the code behind
[Code]....
I load the data to the List collection from the page_load event but that works fine. The data binding works as well. The problem is in that the items cannot be reordered -- during the reordering, the sort value doesn't change and the list doesn't update.
I'm using a reorderlist (Ajax Control Toolkit Release 4.1.40412.2) inside a scrolling div (class="reorderListDemo" style="overflow:scroll; height:225px; width:1300px; table-layout:fixed; text-align:left;"). When the height of the reorderlist is greater than the height of the div, the div will automatically have a vertical scrollbar. The problem is that when i scroll down to drag an item from the bottom of the reorderlist, the reorderlist does not work properly. The drag image and the drop target does not correspond to the item i want to move.I've attached a copy of my css file:
[Code]....
Here is the html markup of reorder list control:
How can i drag and drop image from panel to DataGridView?
View 5 RepliesI am using a Reorder list. I had a requirement that i have to drag a record from the reorder list to another control(may be list control or grid view). Is it possible like that?
View 1 RepliesI have installed and reinstalled AjaxControlToolkit.Binary.NET35, added as reference too and still cannot add the controls to the form. Why is creating web forms so frustratring? I have no problems when I use the Extended Object controls.
View 1 RepliesIm using VS 2005 Pro , and install AjaxControlToolkit for VS2005 in seperate installation.it went fine, the toolbox shows ajax control (the update panel, scriptmanager, etc) . but when i drag and drop, it only shows these code
<asp:UpdatePanel runat="server">
</asp:UpdatePanel>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
I need to create a table where every item in the cell can be drag and drop among themselves and and also drag and drop to other cell. I am thinking to create a ReorderList for every table cell but it come to a problem where I need to drag item from 1 ReOrderList to another ReOrderList when I need to drag the item in the cell to another cell. I have find through the internet but find no solution.
View 4 RepliesI need to implement a functionality where I need to drag a tree node value to a textarea for calculation. Which is best, simplest to use for this functionality-- ajax or plain javascript or anything else?
I'm developing a web app (.NET 3.5 + C#) and i would like it to have a drag 'n drop file upload feature. But i have absolutely no idea on how to do such thing :-/
Can anyone tell me were to start? Some tutorial, some AJAX control, etc...
I am trying to create a UI that shows a list of pending work on the left side, and a similar list of planned work on the right side. I would like the user to be able to both reorder items within each list - this works fine with reorderlist; But to be able to move an item from one list to the other - this I can't make work with reorderlist. Is this possible and can anyone give some pointers on how to achieve it ?
View 1 RepliesI am using Visual Studio 2008 SP1. I face a problem while using Ajax control toolkit. In the Toolkit the Drag Extender is present that can be added to the different component. But is it possible to have specific divisions or panels that can receive my dragged Panel. As in , many sites have the functionality of rearranging the elements in the page itself and all the panels to be rearranged have specific divisions where you can drop the panel. Can we enable Selective Drop in ASP.NET ajax using Ajax Control Toolkit??
View 2 RepliesI am wondering... is it possible to drag and drop items between 2 listviews.
I was thinking of an alternative Instead of using conventional duallistboxes.
I am trying to create a UI that shows a list of pending work on the left side, and a similar list of planned work on the right side. I would like the user to be able to both reorder items within each list - this works fine with reorderlist, and to be able to move an item from one list to the other - this I can't make work with reorderlist.
View 1 Repliesi am new to ajax. i have downloaded AjaxControlToolkit 3.5 and right click on the toolkit and browse to the AjaxControlToolkit.dll
now i have all the ajax control in but i am not able to drag and drop AutoCompleteextender and some other controls to the design view
but at the same some controls can be draged and droped in to the design view
I want to drag and drop rows from one grid view to other,,for this i follow this link [URL] ...
I want to use it with master page..., this work fine without including master page but when I include mater page with in content page, it did not work, I want to use it with master page. How to get rid of this problem ....
I have an UpdatePanel that contains several "items" that are in individual divs that are registered as dragdrop objects. I pass the item ID into the object. Everything appears to be working fine until I delete an item/div. The items appear in the correct divs but the ID's are mismatched as if the delete never happened. I know the dispose method is being called for each object. But I don't know how the deleted item ID is still being passed in a drag/drop object that should be re-initialized on every pageLoad. It's difficult to explain but here is some of the relevant code:
Example of generated initializations on postback:
[Code]....
the project was not initially created using Ajax however, i now added the assemble"system.web.extensions" and copy the ddl to the bin folder. if i should manually add the code for the extenders they will work however, i am unable to drag and drop the extenders to a textbox or to a button or a pane
View 2 RepliesHow can i create a Treeview with Drag drop functionality.
I want to show the values in my tree from DB.
I need to do a web page that will display images in one area, and allow them to be dragged to groups to categorize them, I guess I could add the needed number of panels for the groups but don't know about the dragging and dropping.
View 2 RepliesI recently came across this post:Â
[URL]
I've been using this setup for a while and it works great, however I'd like to integrate a drag and drop system into this so the user can just drag files into the browser window and have them upload that way.
I just using Drag and Drop Gridview with Jquery from aspsnippets...now, my question is :how to get the data from gridview destination ? I tried before, but seems the data is null.
View 1 Replies