I have two nested RadComboBox controls. Both "SelectedValue" properties are bound to a LinqDataSource, and they both get items from different ObjectDataSources.
When I select an item in RadComboBox1 I want to update RadComboBox2's items but I'm getting the following error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control." as RadComboBox2 is also rebinding the SelectedValue property. To solve this, I unbind RadComboBox2.SelectedValue and set the field's value later, but I'm looking for a nicer option.
Is there anyway to refresh RadComboBox2 items withouth the whole rebind, so as to prevent the exception from raising?
Thanks a lot!
When I select an item in RadComboBox1 I want to update RadComboBox2's items but I'm getting the following error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control." as RadComboBox2 is also rebinding the SelectedValue property. To solve this, I unbind RadComboBox2.SelectedValue and set the field's value later, but I'm looking for a nicer option.
Is there anyway to refresh RadComboBox2 items withouth the whole rebind, so as to prevent the exception from raising?
Thanks a lot!