A websites was developed using .NET. The site has data stored in a database
and the users can pull up lists (one at a time) with about a hundred items
in each of them and they can then select items, one at a time, click a
button and it moves them into a new blank list which they can then save.
The current way is too slow for the users as they could need to select 50
items from a list and only being able to move one item at a time to the new
list just takes too long.
The site needs to be modified so that the users can select more than one
item at a time using shift and click and ctrl and click so that they could
select all the items they need in one go from the list, click the button and
move them to the new list.
I’ve been told that this will be difficult to do. Is this right?
No. It sounds like they’re using a drop-down, but what you need is a
multi-select list. Each entry will have its own value and handling them
all, at least in PHP, is pretty simple, though perhaps because of some
PHP conventions. I’d be surprised if it was hard in other languages,
but I’ve only done web programming in PHP and a tiny bit of Java.
Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
A websites was developed using .NET. The site has data stored in a database
and the users can pull up lists (one at a time) with about a hundred items
in each of them and they can then select items, one at a time, click a
button and it moves them into a new blank list which they can then save.
The current way is too slow for the users as they could need to select 50
items from a list and only being able to move one item at a time to the new
list just takes too long.
The site needs to be modified so that the users can select more than one
item at a time using shift and click and ctrl and click so that they could
select all the items they need in one go from the list, click the button and
move them to the new list.
I’ve been told that this will be difficult to do. Is this right?[/color]
should be able to do a javascript “button” with an onclick event that
select()s all the elements in the list. Standalone, static code with
nearly no modification required (hence, avoiding all the messy
programming if a “select all” will do)
A websites was developed using .NET. The site has data stored in a database
and the users can pull up lists (one at a time) with about a hundred items
in each of them and they can then select items, one at a time, click a
button and it moves them into a new blank list which they can then save.
The current way is too slow for the users as they could need to select 50
items from a list and only being able to move one item at a time to the new
list just takes too long.
The site needs to be modified so that the users can select more than one
item at a time using shift and click and ctrl and click so that they could
select all the items they need in one go from the list, click the button and
move them to the new list.
I’ve been told that this will be difficult to do. Is this right?
[/color]
Trivial. At least the way you describe it, all that needs to happen is
the javascript onclick in the button needs to made a for loop, and the
select boxes made multiselect ok.