471,354 Members | 2,096 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 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 1982
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by simon_s_li | last post: by
2 posts views Thread by SamSpade | last post: by
4 posts views Thread by Qingdong Z. | last post: by
2 posts views Thread by bob | last post: by

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.