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

Binding RIA Service to RadTreeView

3 Answers 103 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Suman Rao
Top achievements
Rank 1
Suman Rao asked on 03 Nov 2010, 05:18 AM
Hi All,

Can I get an example (code) that show binding the RIA Service (RIA Service build using ADO.Net Entity Model) to RADTreeView

Thanks in Advance

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 05 Nov 2010, 12:09 PM
Hello Suman Rao,

You can have a look at the following forum threads:
I hope this info helps. Please let us know if we can further assist you.

Regards,
Tina Stancheva
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
0
Suman Rao
Top achievements
Rank 1
answered on 08 Nov 2010, 11:31 AM
Hi Tina,

The link are useful, but I am not sure how to build my HierarchicalDataTemplate for my requirement

Please see the attachment excel the data, I recieve from by database

1) Column ChildLevel shows the level were the data should be in RadTreeView
E.g., ChildLevel 5->4->3->2->1
See my post
http://www.telerik.com/community/forums/silverlight/treeview/radtreeview-hierarchal-temple.aspx

2) Column ParentID and ChildID indicates the association between the data

Can you provide me the RIA Entity Structure and RadTreeView HierarchicalDataTemplate for nested RadTreeView

Any update on the above post

0
Petar Mladenov
Telerik team
answered on 09 Nov 2010, 05:30 PM
Hi Suman Rao,

Unfortunately I cannot picture the hierarchy you need to display from the table snapshot you sent. I cannot find a column that has unique values in every row. Is the primary key for this table formed by more than one column? What data does the ParentID column refers to? And how that data reflects the ChildLevel column?

Also, have you checked the sample project illustrating how to display a FlatHierarchy in the RadTreeView using RIA Services? Does that help?

Can you please elaborate more on the structure of your data and we would be glad to assist you further. 

Sincerely yours,
Petar Mladenov
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
TreeView
Asked by
Suman Rao
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Suman Rao
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or