C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2720
Number of posts: 5746

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
moving items between list boxes Posted by mnp13 on 16 Jun 2003 at 12:04 PM
Hello,

I am trying to make a control similar to the ones used in .NET in the DataGrid Property builder. There is a listbox on the left and a listbox on the right with two arrows in the middle to move things between lists.

Both listboxes are being populated by databases. The one on the left holds all non-selected items, the one on the right shows the items that have been selected.

I need to move items between the boxes and then write items on the right to a database when the user clicks the save button...

Thanks!

Michelle


Report
Re: moving items between list boxes Posted by larrycolvin on 26 Jun 2003 at 1:11 PM
: Hello,
:
: I am trying to make a control similar to the ones used in .NET in the DataGrid Property builder. There is a listbox on the left and a listbox on the right with two arrows in the middle to move things between lists.
:
: Both listboxes are being populated by databases. The one on the left holds all non-selected items, the one on the right shows the items that have been selected.
:
: I need to move items between the boxes and then write items on the right to a database when the user clicks the save button...
:
: Thanks!
:
: Michelle
:
:
:
Michelle,
I am trying to do the same thing. If you have figured out how to do it let me know. If I figure it out before that I will let you know. In the mean time I hope someone replies with an answer.

Larry


Report
Re: moving items between list boxes Posted by mnp13 on 26 Jun 2003 at 1:15 PM
There is a drag drop control that works in Windows forma, but I have seen nothing that works in a web page.

I reasoned out how to do this using arrays, but my theories are far beyond my programming ability. If you are interested in my ideas - perhaps you have the experience to impliment them - let me know!

Michelle
Report
Re: moving items between list boxes Posted by larrycolvin on 26 Jun 2003 at 1:27 PM
: There is a drag drop control that works in Windows forma, but I have seen nothing that works in a web page.
:
: I reasoned out how to do this using arrays, but my theories are far beyond my programming ability. If you are interested in my ideas - perhaps you have the experience to impliment them - let me know!
:
: Michelle
:
Michelle,
Sounds like you are on the right track. I have to get past a DataTable problem that my list are bound to. Then I will address the moving of items between boxes. The only difference between your page an mine is the I am providing "add all" and "remove all" also. Will let you know.

Larry





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.