Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Data-driven combo boxes
Old 06-04-2004, 01:14 PM Data-driven combo boxes
Junior Talker

Posts: 1
Trades: 0
My web page has three data-driven combo boxes. The first always has the same options. The options in the second box depend upon the slection made in the first box. The options in the third box depend on the selection made in the second box. The contents of each combo box is built by querying a data table.
a) What is the technique for dynamically building the contents of the second and third boxes once the controlling selection has been made?
b) Can all three combo boxes reside on the same web page?
c) Or does page 1 hold combo box 1, page 2 combo box 2 and page 3 combo box 3?
d) If c) can the submit button direct the next page to be loaded into a different frame? If yes, how?
Phew! That's it for now!
planecrazy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-08-2004, 03:57 PM
Average Talker

Posts: 18
Trades: 0
You can extract the data for all 3 combo boxes into a client-side JavaScript array and then change the options for the 2nd and the 3rd combo boxes, when onChange event it's triggered in its parent combo box.
__________________

Please login or register to view this content. Registration is FREE
- Contact me to get a fair price for your site
websitebuyer.net is offline
Reply With Quote
View Public Profile
 
Old 06-18-2004, 03:51 AM
afonseca's Avatar
Average Talker

Posts: 17
Trades: 0
Check here
afonseca is offline
Reply With Quote
View Public Profile
 
Old 06-29-2004, 10:52 PM
Bullschmidt's Avatar
Average Talker

Posts: 24
Location: USA
Trades: 0
Perhaps this may hopefully give some ideas and it's got a downloadable sample:

ASP Design Tips - Dependent Listboxes
http://www.bullschmidt.com/devtip-de...tlistboxes.asp
__________________
J. Paul Schmidt

Please login or register to view this content. Registration is FREE
- Freelance Web and Database Developer

Please login or register to view this content. Registration is FREE
- Classic ASP Design Tips

Last edited by Bullschmidt; 07-08-2004 at 01:13 AM..
Bullschmidt is offline
Reply With Quote
View Public Profile Visit Bullschmidt's homepage!
 
Reply     « Reply to Data-driven combo boxes
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.42419 seconds with 12 queries