
June 6th, 2002, 01:09 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
drag n drop in asp.net
<i><b>Originally posted by : Curie (vsdc@divassoftware.com)</b></i><br /><br />hi all!<br />i am working on an asp.net application. my <br /><br />purpose is to <br />implement drag and drop functionality across <br /><br />2 frames. I <br />am using javascript for catching onmouseup, <br /><br />onmousedown <br />and onclick events of a <td> and in the <br /><br /><body>. in these <br />functions i'm setting the values of <br /><br />htmlcontrol (hidden <br />fields) which help me in accessing the <br />window.event.srcElement.id<br /><br />My problem is that onmouseup and onmousedown <br /><br />events have <br />precedence over onClick. Hence a click in <br /><br />one frame and then a<br />click in the other produces the same effect <br /><br />as dragging <br />from one frame to another.<br /><br />I am unable to catch onDragStart and onDrop <br /><br />events which <br />are supported by <pre>, <body> and <img> tag <br /><br />in normal <br />html, but in my .aspx file these events are <br /><br />not supported<br />in any tag  <br />is there any way to catch these events? if <br /><br />there is any <br />tag which supports these drag events in <br /><br />.aspx, that will <br />be the bull's eye solution to my problem. i <br /><br />would be <br />really greatful if any kind of help in this <br /><br />front can be <br />provided.<br />thanx,<br />qry
|