473,326 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Drag drop on a web page

Is there a way to perform a drag drop from a list box to a Gridview control
on a web page? I can do it in a Windows form but I can't figure out how to
do it on a web page.
Dave
Aug 16 '08 #1
5 2061
On Aug 15, 8:05*pm, Parrot <Par...@discussions.microsoft.comwrote:
Is there a way to perform a drag drop from a list box to a Gridview control
on a web page? *I can do it in a Windows form but I can't figure out how to
do it on a web page.
Dave
I would imagine it's harder for a web page since web pages (ASP.NET)
is stateless. This is one of the most common problems with web page
design, that certain new languages are trying to get away from (by
introducing state). Simply put, there's no an easy "OnMouseMove"
event handler for webpages as opposed to forms.

RL
Aug 17 '08 #2
I was wondering if it could be done in Javascript. I know one can drag
pictures and stuff like that on a web page but to actually update a control
is probably not possible on a web page until Microsoft can figure out a way
to do it.
Dave

"raylopez99" wrote:
On Aug 15, 8:05 pm, Parrot <Par...@discussions.microsoft.comwrote:
Is there a way to perform a drag drop from a list box to a Gridview control
on a web page? I can do it in a Windows form but I can't figure out how to
do it on a web page.
Dave

I would imagine it's harder for a web page since web pages (ASP.NET)
is stateless. This is one of the most common problems with web page
design, that certain new languages are trying to get away from (by
introducing state). Simply put, there's no an easy "OnMouseMove"
event handler for webpages as opposed to forms.

RL
Aug 17 '08 #3
On Aug 17, 10:52*am, Parrot <Par...@discussions.microsoft.comwrote:
I was wondering if it could be done in Javascript. * I know one can drag
pictures and stuff like that on a web page but to actually update a control
is probably not possible on a web page until Microsoft can figure out a way
to do it.
Dave
Probably not. I don't do Javascript or Java in general, except for a
simply "hello world" program I once did in Java 1.0.

RL

Aug 18 '08 #4
On Aug 15, 11:05*pm, Parrot <Par...@discussions.microsoft.comwrote:
Is there a way to perform a drag drop from a list box to a Gridview control
on a web page? *I can do it in a Windows form but I can't figure out how to
do it on a web page.
Dave
Sorry for not providing answer to your direct question.

Maybe looking at some web drag-and-drop implementations may give you
an idea how to do it.
It's been on my to-do list to research as one of the current projects
I am working on can benefit from such functionality. My research
starting point would be google's iGoogle homepage (that's the
personalized Google home page - if you're not using it, you can go to
google.com and hit the iGoogle link at the top-right corner.) The
panels on that page allow drag-and-drop. Another site that does
something rather cool UI-wise is the mycast.orb.com AJAX-based
interface (that's the orb.com home page for Orb users.) Also look for
MS example on ASP.NET.
Aug 18 '08 #5
On Aug 18, 7:00*am, "G.S." <gstoy...@gmail.comwrote:
to
google.com and hit the iGoogle link at the top-right corner.) The
panels on that page allow drag-and-drop. Another site that does
something rather cool UI-wise is the mycast.orb.com AJAX-based
interface (that's the orb.com home page for Orb users.) Also look for
MS example on ASP.NET.
Well, AJAX is state based. ASP.NET maybe is state based (depending on
the version, I haven't checked lately). And changing a language would
help (C# Forms has a drag and drop library function--three of them
last I checked--that seem to work fine in the copy and paste examples
I saw on the web).

But I think the original question was for JavaScript, which in any
event is a misplaced question for this forum.

RL
Aug 18 '08 #6

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

Similar topics

3
by: simon_s_li | last post by:
Hi, I am having problems using drag drop and re-ordering items. Example: When I drag and item from position 1 and drag it to position 3, I want to re-order all the items accordingly. This...
2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
4
by: Qingdong Z. | last post by:
I have a VS.NET windows application which use drag-drop feather. It works fine when application start, but stops working after application run one or two days. The application is related to Video...
0
by: Pesso | last post by:
I'm loading a text file to a RichTextBox control to drag a selection of a text and drop it into a tree view control. It works except after the drag and drop operation the RichTextBox scrolls to the...
1
by: timnels | last post by:
I have created a muti-select treeview control. Problem is I am now trying to implement drag/drop in the application that uses it. It seems the mouse down and mouse move events fire before the...
4
by: Jeff | last post by:
Hello, I am trying to drag and drop a label control from one cell in a tablelayoutpanel to another (VB2005). There is no problem if both cells are visible, but i cannot get the tablelayoutpanel...
12
by: lorlarz | last post by:
Unobtrusive JavaScript leads to BUILDERS (e.g. drag drop activity builder) Once you totally remove JS from a web page, and learn the shortcuts and efficiencies provided by a library like...
2
by: bob | last post by:
Hi all, I have a treeview that has drag drop. Works well enough but... If you drag out of bounds of the treeview the nodrop icon comes on. Fair enough. But when I move back inside the treeview...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.