I'm trying to populate (or filter for that matter) a combo box on the fly based on a first combobox selection, however the value to filter the second combobox is only derrived from the first selection and now actually selected.
The datasource for the first combo box is a table which has the fields: ID,Name,LocationType
ID is the ValueField and Name is the Text Field for the combo box
The datasource for the second combo box is a table which has the fields: locationID,LocationName,LocationType
locationID is the ValueField and LocationName is the Text Field for the combo box
I want only the LocationTypes that match the location type of the first combo box selection to be populated within the second combo box.
Is this possible to do?
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello Richard,
Thanks for contacting us! Sure it is possible. Please check out the Change the filter combobox list values based on the value of another filter combobox example in the Code Central, because it seems to be exactly what you are looking for.
Additionally, I suggest you review the following examples, because I believe that they will add to your knowledge of comboboxes overall:
How to implement manual binding for the ASPxComboBox
How to use the ASPxComboBox in data-bound mode
How to select an existing value in the databound ASPxComboBox
Let me know if I can help you further. If there is a difficulty, I think it would be good to look at the code you have already implemented, because in this instance, we could resolve your problem faster.
Thanks,
Dennis
---------------
Check if Search Engine is able to answer questions faster than I do!
---------------