Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxComboBox - How to implement cascaded combo boxes when using a large data source

$
0
0

This example demonstrates how to implement cascaded combo boxes scenario when a child ASPxComboBox operates in a Dynamic List Population mode

1) Enable a "child" ASPxComboBox "Dynamic List Population" mode by setting the EnableCallbackMode property to "true"
2) Implement both the ASPxComboBox.OnItemRequestedByValue event and the ASPxComboBox.OnItemsRequestedByFilterCondition events of the "child" ASPxComboBox;
3) Handle the client-side ASPxClientComboBox.SelectedIndexChanged event of the "parent" ASPxComboBox;
4) Perform a custom callback of the "child" ASPxComboBox via the client-side ASPxClientComboBox.PerformCallback method to update the underlying "child" data.

Question Comments

Added By: marc parthoens at: 1/22/2015 7:29:40 AM    

Would it be possible to add a third combobox populating from db depending on the results of the second one

Added By: Artem (DevExpress Support) at: 1/22/2015 8:59:42 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T200085: ASPxComboBox - How to implement three cascaded combo boxes using a large data source. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles