471,066 Members | 1,230 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Moving items between listboxes on client side

I have to ListBox controls (or 2 html select controls with
runat=server) on a web page and some buttons to move data from one
listbox to another (using javascript). The problem is that when the
page gets on the server I can't get the items that I've moved from the
1st list to the second on the client, I always see the controls as
they were when the page was generated on the 1st request.

How I can see on the servers the items that I've put on the 2nd list?

Thanks,
florin
Nov 19 '05 #1
2 1657
Hi Florin,

You might want to investigate how it is done in this free control:

http://www.metabuilders.com/Tools/DualList.aspx

"florin" <df****@yahoo.com> wrote in message
news:5f**************************@posting.google.c om...
I have to ListBox controls (or 2 html select controls with
runat=server) on a web page and some buttons to move data from one
listbox to another (using javascript). The problem is that when the
page gets on the server I can't get the items that I've moved from the
1st list to the second on the client, I always see the controls as
they were when the page was generated on the 1st request.

How I can see on the servers the items that I've put on the 2nd list?

Thanks,
florin


Nov 19 '05 #2
w00t..my first chance to flex my crappy FAQ muscle...check out
http://openmymind.net/FAQ.aspx?documentId=1 to understand why it's happening
(it won't really help you solve it, but KNOWLEDGE IS POWER or something ;) )

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"florin" <df****@yahoo.com> wrote in message
news:5f**************************@posting.google.c om...
I have to ListBox controls (or 2 html select controls with
runat=server) on a web page and some buttons to move data from one
listbox to another (using javascript). The problem is that when the
page gets on the server I can't get the items that I've moved from the
1st list to the second on the client, I always see the controls as
they were when the page was generated on the 1st request.

How I can see on the servers the items that I've put on the 2nd list?

Thanks,
florin

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Luke Ward | last post: by
3 posts views Thread by Kay | last post: by
5 posts views Thread by Kay | last post: by
3 posts views Thread by perrycheung221 | last post: by
3 posts views Thread by Brian Simmons | last post: by
reply views Thread by leo001 | last post: by

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.