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

Domain Data Source

2 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt Brewington
Top achievements
Rank 1
Matt Brewington asked on 15 Nov 2010, 02:44 PM
I have read this blog post about using the Domain Data Source to populate a RadGrid:

http://blogs.telerik.com/TsvetoslavKovachev/Posts/09-09-17/radgrid_for_asp_net_ajax_and_domaindatasource.aspx

I have the same problem as the person that posted a comment about it.  That being, I have the Domain Data Source bound to the grid just like it shows in the example, but I can't get the child tables of the hierarchy to correspond with the selection of the main grid.  I see at the bottom of the page, that support for QueryParameters is available, but I'm stuck?  There are several options in the QueryParameters and I can't get any of them to work.  Is there an example of this somewhere?

Thanks

2 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 18 Nov 2010, 06:52 PM
Hello Matt,

Thank you for contacting us.

Excuse us for the late response  - could you specify what version of Visual Studio and RIA Services you are using? Could you also point what version of the DomainDataSource control you are using - the one from codeplex?

Thanks in advance.

Greetings,
Tsvetoslav
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Tsvetoslav
Telerik team
answered on 19 Nov 2010, 10:32 AM
Hi Matt,

Just to give you more information on the issue you have faced - I tested your application scenario with WCF RIA Services for SilverLight 4.0 and Visua Studio 2010, and RadGrid works all right. I am also attaching a small sample that should serve you as a guideline.

One thing that I suspect might by the reason for the issue on your side is the fact that besides the QueryParameters for the data source of the nested table views you need to specify also a QueryName (i.e. a select method) that takes into account those parameters.

Do take a look at the attached sample at how I have implemented this and let us know how it goes.

Best wishes,
Tsvetoslav
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Matt Brewington
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or