473,324 Members | 2,548 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,324 software developers and data experts.

Listbox to texbox (multiple selection)

Hello All,

I have a list box containing:

Ford
Vauxhall
Nissan
Honda
Volvo

How can I select certain names and have them transferred to a text box ie.

if I click Ford, Honda, Volvo I want it to update the textback like [ Ford
Honda Volvo ] when I click each one (like in hotmail when your select email
addresses.

Many thanks for your time.

Andie
Jul 19 '05 #1
3 1594
Andie wrote on 29 jan 2004 in microsoft.public.inetserver.asp.general:
I have a list box containing:

Ford
Vauxhall
Nissan
Honda
Volvo

How can I select certain names and have them transferred to a text box
ie.

if I click Ford, Honda, Volvo I want it to update the textback like [
Ford Honda Volvo ] when I click each one (like in hotmail when your
select email addresses.


What is the ASP angle ?

I suggest you ask a clientside group.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
"Andie" wrote ...
How can I select certain names and have them transferred to a text box ie.

if I click Ford, Honda, Volvo I want it to update the textback like [ Ford
Honda Volvo ] when I click each one (like in hotmail when your select email addresses.


if you want this to happen on the fly, ie the page doesnt reload, then
you'll be wanting some client side scripting, ie, Javascript....

Regards

Rob
Jul 19 '05 #3
ok, sorry, I rarely use the newsgroups.

Andie
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message
news:AA*********************@news-text.cableinet.net...
"Andie" wrote ...
How can I select certain names and have them transferred to a text box ie.
if I click Ford, Honda, Volvo I want it to update the textback like [ Ford Honda Volvo ] when I click each one (like in hotmail when your select

email
addresses.


if you want this to happen on the fly, ie the page doesnt reload, then
you'll be wanting some client side scripting, ie, Javascript....

Regards

Rob

Jul 19 '05 #4

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

Similar topics

8
by: Vipin Kedia | last post by:
Hi I have written a code for showing the list boxes as selected using a Listitem and the selected property of the items. Now I have 2 list boxes in my page. But it shows only the selected values...
2
by: Matt Sawyer | last post by:
Hi, I'm attempting to do a drag and drop operation from one listbox to another. I have my listboxes setup with SelectionMode = MultiExtended so that I can use the shift key, cntrl key, etc. to...
1
by: Gianluca | last post by:
This works well on a single selection listbox: protected override OnMouseDown(...) { base.OnMouseDown(...); MessageBox.Show(this.SelectedIndex.ToString()); } But on a multiple selection...
6
by: Chris Leuty | last post by:
I am populating a multiselect Listbox from a dataset, with the content of the listbox filled by one table, and the selections determined from another table. So far, I have been keeping the dataset...
0
by: Adis | last post by:
Asp.Net Visual Studio 2003 SQL Server. Hi, I have database in Sqlserver and ListBox (Multiple Selection Mode) in my Visual Studio Webform. I wish obtain various records from...
5
by: Lie | last post by:
Hi all, I have problem in getting selectedindex of multiple listbox selection in a datagrid. I have a listbox with multiple selection mode inside datagrid. In Edit mode, I need to get back all...
5
by: Dave H | last post by:
I have an asp:listbox, allowing multiple selections, is there a quick check to see if there's more than one selected, or do I need to go through the whole list? Thanks, Dave
3
by: Lenard Gunda | last post by:
Hi, I have the following problem. On a page I have a multiple selection listbox. It contains a lot of items. When items near the bottom are selected, and I do a postback, the control jumpst to...
1
by: nasirmajor | last post by:
i have a databound listbox that has a multilple selection made to true. when user select multiple values in listbox and clicks button i want them to show the results in the datagrid on the same...
9
by: Bob Malcoprs | last post by:
Hi, I want to get all the selected values of a listbox in several labels.. With this code here below, when i click on e.g. "option 2", i get '2' in label2. That's ok. But if i then click on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.