RadDomainDataSource QueryName Binding

2 posts, 0 answers
  1. Madhu
    Madhu avatar
    2 posts
    Member since:
    Jan 2011

    Posted 17 Apr 2011 Link to this post

    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.

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1114 posts

    Posted 21 Apr 2011 Link to this post

    Hello Madhu,

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

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top