Implement Drag And Drop?
Feb 2, 2010
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 Replies
Similar Messages:
Aug 9, 2010
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?
View 5 Replies
Jun 14, 2010
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 Replies
Sep 30, 2010
i want to implement drag and drop controls in webpage and convert those controls to pdf acrofield with same size and positon.
View 2 Replies
Feb 13, 2011
implementing a drag and drop feature into my website. I was wondering if anyone has any good examples on how this can be done?
View 3 Replies
Aug 9, 2010
Can the ImageButton Control be used to implement Drag&Drop? My Drag&Drop function means drag the image,and drop it to desktop as a file or other applications, for example, Office Word,Office Excel,etc. Can the ImageButton Control be used to implement it?
View 1 Replies
Jun 4, 2010
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.
View 3 Replies
Mar 26, 2016
i'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 Replies
Jun 18, 2012
In 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] ....
View 1 Replies
Mar 24, 2010
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 Replies
Feb 17, 2011
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">
<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?
View 2 Replies
Mar 4, 2011
I hav two listboxes, how can i drag and drop between these two using jquery
View 4 Replies
Jul 26, 2010
I have to generate an organization chart, in my asp.net 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.
View 4 Replies
Feb 17, 2011
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.
View 3 Replies
Mar 11, 2011
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">
<LayoutTemplate>
<table id="groupPlaceholderContainer" runat="server" border="1">
<tr id="groupPlaceholder" runat="server">
</tr>
</table>
</LayoutTemplate>
<ItemTemplate>
<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") %>' />
</td>
</ItemTemplate>
<GroupTemplate>
<tr id="itemPlaceholderContainer" runat="server">
<td id="itemPlaceholder" runat="server">
</td>
</tr>
</GroupTemplate>
<InsertItemTemplate>
<td id="Td3" width="150px" height="150px" runat="server" align="center" style="background-color: #e8e8e8;
color: #333333;">
<asp:FileUpload ID="fileUpload" runat="server" />
</td>
</InsertItemTemplate>
</asp:ListView>
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;
lvPhotoViewer.DataBind();
}
}
View 1 Replies
Feb 11, 2011
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.
View 2 Replies
Feb 7, 2011
How can i drag and drop image from panel to DataGridView?
View 5 Replies
Jul 7, 2010
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
View 2 Replies
Mar 24, 2010
I am looking for a drag & drop shopping cart, which I can use with asp.net & 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.
View 10 Replies
Mar 31, 2010
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?
View 2 Replies
Mar 16, 2010
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.
View 1 Replies
May 8, 2010
I have a small doubt.Can we provide Drag and Drop facility in asp.net websites like in desktop applications.
If possible how can we provide that facility in our asp.net web sites
View 1 Replies
Mar 3, 2010
i'm getting an error. .js files are not present in my application folder. am i need to copy those .js files to my applikation folder?
View 7 Replies
Nov 28, 2010
How can I do Gmail like drag and drop attachment upload with asp.net and jQuery? If that's not possible with current HTML version or the platforms I mentioned do we have any other alternative?
View 1 Replies
Feb 8, 2010
I have been using web parts on my site since ASP.NET 2.0 came out. Dragging and dropping web parts works great in Internet Explorer, but it doesn't work at all in Firefox, Chrome, or Safari. I recently upgraded the site to ASP.NET 3.5 SP1, but I am still unable to drag and drop web parts in non-IE browsers. How can I enable drag and drop web parts in these other browsers? Update (2/9/2010): This mentions this problem, but offers no solution: [URL] pdate (2/19/2010):
These posts offer a possible solution, but I have been unable to get it working yet on my site: [URL] In short, these say the drag and drop problem was solved in "ASP.NET Futures (July 2007 release)" but for some crazy reason, was left out of ASP.NET 3.5 SP1. So to solve, you have to download the Futures release at:
http [URL] Then, you need to use the WebPartManager and WebPartZone from the Microsoft.Web.Preview.UI.Controls.WebParts namespace.
View 6 Replies