473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

moving listbox items

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
May 4 '06 #1
2 1178
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

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
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

May 4 '06 #2
thank you very much.
rodchar

"Eliyahu Goldin" wrote:
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

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
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


May 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Angela | last post by:
I'm having trouble figuring out how to move a list from one listbox to another using a command button. The idea is to click on a command button and all items in listbox A will move over to listbox...
2
by: Kevin Quigley | last post by:
Hi, I have an application that allows users to select items from one listbox and in doing so the item is removed from the original list and displayed in the other. I had this working in the...
2
by: Job Lot | last post by:
How can i change the order of items in ListBox on Click of Up and Down button. I want user to rank their Loans in the order they want them to get paid. My database table stores the ranks as numeric...
3
by: Job Lot | last post by:
I have worked out how to move items in ListBox, but it doesn't seems to work when the ListBox is bound to a DataSource. It says "Cannot modift the Item Collection when the DataSource property is...
5
by: Kay | last post by:
Hello, I have two list boxes on my form, one initially displays with items and the other displays blank, by clicking a button, it is possible to move items from one box to another and vice a...
1
by: Partha Sarathy.G | last post by:
I have code for moving the items from one list box to another listbox at client side For more details mail to gps.mca@gmail.com
3
by: Dany P. Wu | last post by:
Hi everyone, One of my Windows forms contain two listbox controls, with Add and Remove buttons between them. The idea is to allow users to select multiple items from one ListBox, click the...
3
by: perrycheung221 | last post by:
Hi guys, I got 2 listboxes in a window form, one on left and one on right. The 1st listbox have some items while the 2nd listbox is empty. Also there are 2 buttons between the 2 listboxes which...
3
by: Brian Simmons | last post by:
Hi All, I search on codeproject and google but didn't find what I was looking for. Anybody know of a good implementation where you have 2 listboxes and you want to move items between the 2. ...
3
JodiPhillips
by: JodiPhillips | last post by:
Hello everyone, there are many questions and answers relating to moving items between two listboxes here and on the net in general, however, none answer my specific problem. I have two listboxes...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.