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

How to do cascade combobox inside radgridview through RIA SERVICE to retrieving the data

3 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Edward Pauley
Top achievements
Rank 1
Edward Pauley asked on 21 Mar 2011, 11:12 PM
Hi

I did check your post at 
http://blogs.telerik.com/pavelpavlov/posts/10-01-27/cascading_comboboxes_selection_in_radgridview_for_silverlight_and_wpf.aspx
However, there is a problem with my scene is that the list Country and Continent must be retrieving from the server through service call not  Static created one on the CLIENT side like what you did on the example.
Right now i am using Entity Framework 4 and RIA service. 

I can create an extra property like in your example 
AvailableCountries for my data object

Plz help

thanks

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 22 Mar 2011, 09:58 AM
Hi Edward Pauley,

Generally, you may follow the exact same approach. The only thing you need to do is to slightly extend the functionality of the corresponding classes by defining partial classes in the client side and adding the necessary properties - like AvailableCountries and methods - like UpdateAvailableCountries(). The settings in the xaml file should be again similar to those in the sample.
 

Greetings,
Maya
the Telerik team
0
Edward Pauley
Top achievements
Rank 1
answered on 22 Mar 2011, 09:10 PM
Hi Maya,

i did think about that. However, i am stuck at how to setup the Locations like the one in your example

because i need to call a service in order to retrieve that collection of Locations. The service call is asyncho so during the call, the Locations will be null at that time. That's what i am fearing

can you show some sample codes at how accomplish this by extending your example?

thanks
0
Maya
Telerik team
answered on 24 Mar 2011, 05:22 PM
Hi Edward Pauley,

May you send us the database, the script and a corresponding sample project with RIA Services that demonstrate your scenario ? We will try to implement the above-mentioned feature based on your exact requirements. 

 

Kind regards,
Maya
the Telerik team
Tags
GridView
Asked by
Edward Pauley
Top achievements
Rank 1
Answers by
Maya
Telerik team
Edward Pauley
Top achievements
Rank 1
Share this question
or