moving listbox items

G

Guest

hey all,

if i select an item in a listbox, how would i move that item up/down the
list using upd/down buttons on my .aspx page?

thanks,
rodchar
 
E

Eliyahu Goldin

I would bind the datalist to a datasource and re-sort the datasource for
up/down clicks. Obviously, the up/down clicks should affect the fields in
datasource used for sorting.

Eliyahu
 
G

Guest

thank you very much.
rodchar

Eliyahu Goldin said:
I would bind the datalist to a datasource and re-sort the datasource for
up/down clicks. Obviously, the up/down clicks should affect the fields in
datasource used for sorting.

Eliyahu
 

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top