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

Hierarchiral gridview

4 Answers 64 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Subhash Chandra
Top achievements
Rank 1
Subhash Chandra asked on 29 Oct 2009, 07:52 PM
Hi,
      I have a telerik radgridview. I want to show that gridview in hierarchiral format.
To bind the data ,I have a WCF service.
In that service I am  executing 2 separate sql queries and keeping results in  2 datatables..
 At last I am adding a relationship  between the 2 datatables using dataset.

Here lies my problem.
How can I return the dataset from WCF service to code behind page and bind to gridview itemsource property so that  the gridview show hierarchiral view of data. 

Note: I do not  wnat to use property relationship.

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Oct 2009, 06:37 AM
Hello,

You've posted this question in wrong forum - this is for the calendar not for the grid.

You cannot return DataTable or DataSet to the Silverlight client since these are no such classes in Silverlight in general. The easiest way to achieve your goal is to use ADO.NET DataService or RIA service - you can check my blog post for more info:
http://blogs.telerik.com/vladimirenchev/posts/09-10-16/how_to_silverlight_grid_hierarchy_load_on_demand_using_mvvm_and_ria_services.aspx

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Donald Hamm
Top achievements
Rank 1
answered on 30 Oct 2009, 04:52 PM
FYI Vlad, your link from the 'griview' brings you to this section of the forum instead of the 'grids'...

Thanks!

-Don
0
Vlad
Telerik team
answered on 30 Oct 2009, 04:57 PM
Thanks Don!

We will check this immediately.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Atanas
Telerik team
answered on 31 Oct 2009, 04:41 PM
Hello Donald Hamm,

Thank you for reporting this issue!

It seems that we had broken link which is fixed now.

Please don't hesitate to contact us for any further issues!

Greetings,
Atanas
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Calendar
Asked by
Subhash Chandra
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Donald Hamm
Top achievements
Rank 1
Atanas
Telerik team
Share this question
or