AJAX :: ReOrderList And Table / Drag N Drop For Table Cell?
Apr 20, 2010
I need to do a drag n drop for table cell. I need every feature of Ajax ReorderList such as when item 2 is drag to position no 3, item no 3 will be automatically goto position 2. However i need every item in Ajax ReorderList .
I have try many ways in trying it such as using customized tool: Telerik (RAdGrid,Scheduler), DevExpress , ComponentGo! and also PilotScheduler but all does not fullfill the business requirement. May be the requirement for solution is too rigid. Below is my table design
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.
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 ?
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.
I am followint the insructions of this walkthrough of VS2003
[URL]
and in a part say this 8 Find the authors node and expand it to show the fields in the authors table. 9 Using CTRL+Click, select the au_id, au_lname, au_fname, and city fields. 10 Drag these fields from Server Explorer onto the design surface Now i am using VS2008
When i try to drag and drop i can not made it is maybe because of the differences between 2003 and 2008 versions
I have two possible header rows for a DataTable that I build dynamically. Setting the value of a cell works fine. Adding the cell to a TableRow works fine. The problem comes in where I have to build a second possible header row that uses the same cell.
An example is below.
trHead1 = New TableRow trHead2 = New TableRow tcCalc = New TableCell tcCalc.Text = "Rates" trHead1.Cells.Add(tcCalc) trHead2.Cells.Add(tcCalc)
As soon as I make the second row add the cell, the cell disappears from the first row. This really doesn't make sense to me but that seems to be the way it is. If there is a work around other than duplicating the lines;
I'm hardly an expert in css, so this is a bit frustrating. I have a grid that was filled with a repeater. I want each row to have a 1px border along the bottom to visually separate the rows.
I've been reading and trying to figure out a way for half a day yesterday, and any solutions seems to fit to this. Overview: My solution is building up xml files from different folders on another server. After the xml is built up, I can run a "File Mapping" which will grab the appropriate information from the a specific xml selected with a dropdown and pass it to the asp:repeater. The binding is done on load, reading all the xml elements and passing it to a collection of object that will be bound to the repeater( results.DataSource = listOfObjects; results.DataBind(); )
Now here is the problem. In each row of the table there is columns containing static informations and the last cell of the row is an img button that represent a gray checkmark and that on click should change to green. However, onclick now I only change the data to the xml, and on next "File map" it'll be there. I cannot simply refresh the page, because it takes a fairly long amount of time to refresh because most of the times there is over 350 records to load and above that, you cannot simply refresh page because the page is call through ajax and a refresh will bring you back to the default.aspx. I've already built a function to get the param back through jQuery, however I really have no clue how to bind it to the image. Current line with image:
IsQAComplete being the bool used used for checkmark which is referring to the listObject. <--- the listObjects Collection remains unchanged Get what the checkbox state should be referring to xml file.
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.
I 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.
Im 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
I 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 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??
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:
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
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.
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.