MVC :: Create A Treeview With Drag And Drop Functionality?
Nov 24, 2010In my MVC project I have to create a treeview with drag and drop functionality .
View 2 RepliesIn my MVC project I have to create a treeview with drag and drop functionality .
View 2 RepliesHow can i create a Treeview with Drag drop functionality.
I want to show the values in my tree from DB.
Could you point me to a reference article on how to implement drag and drop within a treeview control using ASP.NET in C#? Is this best implemented with AJAX? I will be using an XMLDatasource. Also, I did not want to use any third party control at this point
View 2 RepliesCode to drag and drop a TreeNode to another control or tag such as Div or even another TreeView.
View 1 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?
Does anyone now how I can make the drag/drop functionality of WebParts work in Firefox?
View 3 RepliesHas anybody managed to incorporate drag and drop functionality between cells in a gridview or repeater?
View 2 RepliesUsers want to have the ability on a page to have a treeview with hierarchy that can be updated by dragging and dropping from a listbox. They can drag a 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 item from 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 how this 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 Access conversion project beginning of year. And if this conversion from A2007 to ASP.NET goes well, there is another major conversion waiting in the wings.
All my current functionalities are in .net datagrid. I have to include a new feature like drag and drop any row inside the datagrid to change the order of the row.
But, it should happen in client, during save the new order should save in the database.
Any plugins or scripts available to acheive this?
iam having a treeview where the sample structure is like this. Cabinet under cabinet there is folder and under folder there are some documents.now i want that documents to move from one folder to another folder using drag and drop ...how can i perform this functionality.
View 4 RepliesWe have an asp.net treeview control and a texarea. The childnodes of treeview need to be draggable and can be dropped into txtarea.
View 2 RepliesI have made a monthly view custom calendar.I have taken a repeater to make the control.Now what i want is there is a treeview showing some data.I drag from that treeview onto Datalist/Repeater control.on dropping the value should be inserted into database
View 1 RepliesWhat I am looking to do is have a page with 2 seperate datagrids on, I want to be able to add the selected rows from DataGrid1 into DataGrid 2 either with a button click or using drag and drop functionality (Im guessing this would require javascript and I have no experience with this language, is it difficult to learn or could I just alter code from elsewhere?). Once the row is added into DataGrid2 I would like to be able to add some information, such as Quantity and DateDue (could this be added in a pop up box when the part is added?) Also I would like fields in DataGrid1 to be based upon a search with several different options that the user specifies, i.e the ability to search based on project number, however it would return eitheer parts or assemblies depending on a check box selected. I have very limited programming knowledge but Im guessing I would be able produce a query based on the inputs, but in order for this to work wouldnt the page to postback everytime an option was changed.
View 1 RepliesFor my website I would like to create some functionality, that will give me possibility to Drag and drop Web User Controls on my site. I have many Web User Controls.. Like Calendar, News, Videos, Gallery. Those part of codes are inWeb User Controls.. I would like to move(with Drag and Drop) those web user controls around site. Example of what I mean is here: http://www.rtvslo.si/ To move boxes around, but in my case Web User Controls.
View 3 RepliesIs there an existing application for drag and drop quiz interface in asp.net. I mean, users should be able to drag and drop the answers/options into a answer section and then the answer is verrified via our code.
Was just checking out if there is already an existing interface as described above.
I'm trying to develop a web application where there webpage would contain a list of Web control (textbox, label, calendar...) images on the left (as a menu), and the user would be able to drag any of the images onto a specific space within the page and it would dynamically create that specific control (for example, if the user drags an image of a TextBox into a panel, then a TexBox control would be dynamically created into that panel). Basically, I need to reproduce the basic drag-and-drop functionality of an IDE. To be honest, I have no idea how to do this.. anyone can point me in the right direction??
View 1 RepliesI want to create drag and drop controls at runtime on web page how can i do it?
View 6 RepliesIs it possible or easy to create a web page that allows users to drag and drop divs around the screen, and that this would work in a brwoser, whether that is on a PC, and iPhone, or an iPad?
My web page uses a few divs which contain some content, and the user is able to move these around as they wish.
It is currently created using ASP.NET DragPanelExtenders, but if they have to be abandoned, so be it.
To get this workign, will I have to create two versions of the page: one for PC based on mousemove events, and one for iPhone/iPad based on touch events?
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.
View 4 RepliesI 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.
View 3 Repliesi've built a WPF application with two listBoxes.I managed to drag and drop elements from one listbox to the other, but it always gets added to the end/buttom of the second listbox.How can i drag and drop the element and place it in the other listbox, but where i want it to be, where the cursor is located/ponits and not inĀ the end (as the last element).
View 1 RepliesIn WPF I haveĀ a textBox . I need to drag and drop textfiles ie in notepad from desk top to textbox of wpf. I managed to get the contents of notepad to textbox. But I need file path to be in browser so thatĀ IĀ can transfer files from client to client.
I need the file path instead.
privatevoid textBox1_PreviewDragEnter(object sender, DragEventArgse) {
bool isCorrect = true;
if (e.Data.GetDataPresent(DataFormats.FileDrop, true) == true
) {
string[] filenames = (string[])e.Data.GetData(DataFormats.FileDrop, true
);
[Code] ....
i have done a simple program tat enables drag and drop functionality in asp.net webforms..i hav implemented this using 2 tree views in my page...
but now i need some idea to how to drag the text from textbox to the tree nodes..
i hav searched net but can't get clear idea...is there any control in ajax which enables this feature..
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 Asp.net 3.5.
View 1 RepliesI 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">
<div>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<asp:WebPartZone ID="LEFT" runat="server">
<ZoneTemplate>
<asp:TextBox ID="tb" runat="server" />
</ZoneTemplate>
</asp:WebPartZone>
aa
<asp:WebPartZone ID="RIGHT" runat="server">
</asp:WebPartZone>
aa
<asp:EditorZone ID="EditorZone1" runat="server">
</asp:EditorZone>
</div>
</form>
Here is the code behind:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
WebPartManager mgr = WebPartManager.GetCurrentWebPartManager(this);
mgr.DisplayMode = WebPartManager.DesignDisplayMode;
}
What am I missing?