Link to home
Start Free TrialLog in
Avatar of slink9
slink9

asked on

VB.Net Web Page Dropdown Selector

I have a need to set up a dropdown with relational linking between two databases.  I have one table with an ID on it and another with ID and location.  I need to be able to view the current location linked by ID and then click the dropdown to select a new location from the complete list of locations in the supporting table.  I am using a SQL connector.  What type of dropdown do I use?  What properties do I set to allow normal display from one table and drop-down display from another?
ASKER CERTIFIED SOLUTION
Avatar of Jeff Certain
Jeff Certain
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of slink9
slink9

ASKER

I don't see an AJAX for VS2003.  I forgot to mention that fact.
All of the Telerik controls (www.telerik.com) can be used in either VS2003 or VS2005. The developer license for the Ajax manager only is $399. There's also a trial version available to see if it does what you want (either 30 or 90 days - I don't remember).

If you're doing this in a professional environment, the point you need to take to your boss is that this particular tool allows you "ajaxify" existing controls, specifying which ones should be the target of callbacks from other controls. In your case, you'd want combo box 2 to be the target of operations for combo box 1. In the SelectedIndexChanged event for combo box 1, you'd have to get the data that is displayed in box 2 based on the current data in box 1. You can either get all the data and cache it, then perform filters in a dataview (performs better, but then you need to worry about the cache going stale... plus it's more work) or just hit the database directly to get the data when you need it.