473,763 Members | 7,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Drag n Drop across frames

Hi,

I want to implement drag a drop kind of functionality across frames using
ASP.NET(VC#). The scenario is like,

1) I want to break the screen into 3 frames with the leftmost and the
rightmost frames take 25% space each and rest 50% is occupied by the middle
frame.

2)Now, what I would like is to load the data from some datatable into the
leftmost and rightmost frmaes, one record in each row, and the data should be
draggable from either frames to the middle frame.

3) In the middle frame the top row again is bound to some data for display
purpose.

Any help and suggestion are welcome.
--
Thanks & Regards,
Ramesh
Nov 18 '05 #1
1 1935
"Ramesh Chawla" <ra*******@redi ffmail.com> wrote in message news:<EE******* *************** ************@mi crosoft.com>...
I want to implement drag a drop kind of functionality across frames using
ASP.NET(VC#). The scenario is like,

2)Now, what I would like is to load the data from some datatable into the
leftmost and rightmost frmaes, one record in each row, and the data should be
draggable from either frames to the middle frame.


Sure. This is doable, though neither ASP.NET nor C# will help you.
This is on the browser, so Javascript will be doing the work.

I've done exactly this before, so I'll give you a few pointers and one
healthy disclaimer: It's hard (as in, if you're not already good with
DHTML, you're in over your head.)

Basically, you have to make sure that all the frames are sourced on
the same server so they can see each other. Keep a reference to your
cargo on the top frame, so it's easy to see by the others. Have each
frame handle it's own mouse events and use those variables in the top
frame to hold any information that the other frames might need, such
as drag state and cargo.

The big fun is in keeping track of the MouseDown state. If the user
drags to someplace where you don't have an event handler running then
lets go of the button, you'll find yourself in perma-drag mode. For
this reason, I'd recommend using a mouseout event on the window that
cancels the drag.

Anyway, good luck!

Jason
http://www.expatsoftware.com/
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4169
by: srikanth | last post by:
Hi all, I have an requirement in one of my projects. We have one aspx page, in that we have two frames, in each frame having a tree structure control(dynamic data). In the left Frame we are displaying all the documentcollections(dynamic) in the Treestructure, In the Right side we are displaying all the HolderGroups (dynamic).We have to assing Any one of the Documentcollections to HolderGroups, through Drag and Drop
2
6381
by: matthewmacchia | last post by:
I believe this is a Firefox bug but I was hoping someone found a workaround. I have implemented drag and drop functionality, but if I try to drag an element from a div that happens to have a div with an "overflow: auto" it seems to lose the onmouseover event for my target. Anyone come across this issue and found a resolution? Please advise. Here is a link to my code.
6
6285
by: hemant_mishal | last post by:
Hi All, I am writting a java script library which will provide inter frame drag and drop operation. The more precise will be OLE drag and drop, which means only data will be transfered from frame to frame not any object. But it should happen in a drag and drop fashion. The requirement is, user will click on one object and will drag the mouse to another frame and will drop on some object the data will be passed by this and some action will...
1
3504
by: emferrari | last post by:
Hi everybody I have two treeviews, one of them is only to receive items dragged from the treeview1. I want to know how to drag a full node information to the treeview2. I know how to do that only in a single node operation. Here is my current code: private void trv_Directories_ItemDrag(object sender, ItemDragEventArgs e)
1
346
by: Ramesh Chawla | last post by:
Hi, I want to implement drag a drop kind of functionality across frames using ASP.NET(VC#). The scenario is like, 1) I want to break the screen into 3 frames with the leftmost and the rightmost frames take 25% space each and rest 50% is occupied by the middle frame. 2)Now, what I would like is to load the data from some datatable into the
1
1391
by: Simone | last post by:
Is it possible to enable drag functionality for an object in a frame and then drop it in another frame? If yes, how? Thank you. Simone
2
8153
by: anchi.chen | last post by:
Hi People, Just wondering if any of you have ever come across any javascript examples that will allow one to drag and drop multiple items between lists? That is, users would be able to use the "Shift" or "Ctrl" buttons to select multiple items from LIST 1 and drag them to LIST 2 in one go. I've already have the code to drag and drop between lists but for 1 item at a time. The only method to move multiple items between lists
1
3831
by: patrickq | last post by:
What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want to set the data type to "text" at the source, so that the drop operation simply drops a set text string onto a target text entry field. Under IE, when dragging an object, it is possible to catch the “dataTransfer.setData” event to set up the data to be...
4
3426
by: Himzi | last post by:
Hi , I am trying to create a webpage. It has 3 frames (left, middle and right). I want to be able to drag images from the left and the right frame into the middle frame. Each time i try to drag an image from one frame to another , the image just disappears. Can some one please tell me how this can be done? Thanks, Himani
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10144
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.