This is a migrated thread and some comments may be shown as answers.

RadDomainDataSource QueryName Binding

1 Answer 86 Views
DomainDataSource
This is a migrated thread and some comments may be shown as answers.
Madhu
Top achievements
Rank 1
Madhu asked on 17 Apr 2011, 06:34 AM
I have a ComboBox, when the choice changes, I need to fire a different Query and QueryParameters on the ViewModel to load the RadGridView. So I cannot have a hardcoded QueryName in the XAML for RadDomainDataSource.

Please suggest how to achieve this dynamic behavior and if possible provide some sample code.

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 21 Apr 2011, 08:34 AM
Hello Madhu,

You may try binding the QueryName Dependency Property to the SelectedItem property of  your ComboBox.

Greetings,
Ivan Ivanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DomainDataSource
Asked by
Madhu
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or