Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Populate List Box base on Combo Box Selection

Thread Tools

Populate List Box base on Combo Box Selection

Posts: n/a
I kind of new here, but how do i get a value from a combo box and populate a list box base on the selected value from a combo box? If possible can i get a sample coding Thank you.

Email : Removed)
Reply With Quote
Posts: n/a
Some ways to do a dependent list box are the following:
1) Reload a self-posting form (advantage: clean and fairly easy,
disadvantage: form has to reload).
2) Send all the data down to the form and let JavaScript do the work
(disadvantage: sends all the data to the form).
3) Remote scripting (disadvantage: may have security risks).
4) Hidden frames (disadvantage: complicated).

As for myself I like to keep it simple and just let the page post to
itself and then show the info in the 2nd list box based on the posted
value from the first.

ASP Design Tips - Dependent Listboxes

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FormView DropdownList - On Selection Change populate Text Box Satish ASP .Net 8 03-31-2008 03:26 PM
How to reference one combo box from another combo box SM Javascript 2 04-28-2007 04:49 PM
Fill Combo Box based on another Combo Box dthmtlgod ASP General 1 11-16-2005 04:08 PM
combo box selection problem Jacques Chaurette Java 0 05-31-2005 10:11 PM
populate one list box with selected values from another list box ASP .Net 1 03-12-2005 11:29 PM