Drag drop on a web page

P

Parrot

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
 
R

raylopez99

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
 
P

Parrot

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
 
R

raylopez99

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
 
G

G.S.

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.
 
R

raylopez99

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top