Hello, I have a RadGrid to display a list of items.
Columns:
Client Name | Invoice | Item description
What I'm trying to accomplish is to filter the second RadComboBox data, when the first one is used (filter).
For instance, when customer John Smith is selected as a filter, I'd like to rebind the RadComboBox "Invoice" to show only the invoices of John Smith. As of today, it rebinds, but uses the full dataset, so it shows all invoices.
Data is in a Dataset in a session variable.
Client Name and Invoice each have a RadComboBox setup as a FilterTemplate.
RadGrid is using the "NeedDataSource" event to bind.
On RadGrid's ItemCreated event (when item created is a GridFilteringItem), I find and call RadComboBox's DataBind, using the dataset as DataSource.
Is there a way to do that (without having to run RadComboBoxes as standalone objects)?
Thank you.
Mosart
Columns:
Client Name | Invoice | Item description
What I'm trying to accomplish is to filter the second RadComboBox data, when the first one is used (filter).
For instance, when customer John Smith is selected as a filter, I'd like to rebind the RadComboBox "Invoice" to show only the invoices of John Smith. As of today, it rebinds, but uses the full dataset, so it shows all invoices.
Data is in a Dataset in a session variable.
Client Name and Invoice each have a RadComboBox setup as a FilterTemplate.
RadGrid is using the "NeedDataSource" event to bind.
On RadGrid's ItemCreated event (when item created is a GridFilteringItem), I find and call RadComboBox's DataBind, using the dataset as DataSource.
Is there a way to do that (without having to run RadComboBoxes as standalone objects)?
Thank you.
Mosart