472,952 Members | 2,194 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 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 2038
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.