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

heirarchyID DataType

1 Answer 87 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
reema
Top achievements
Rank 1
reema asked on 13 Jan 2009, 10:55 AM

hi,
can we use heirarchyID DataType in building Radtreeview and if yes how?...

thanx in advance...

1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 14 Jan 2009, 10:56 AM
Hi reema,

RadTreeView does not support the automatic creation of tree-like structures by simply binding it to hierarchyid data. In order to use such data you'll need to create the hierarchical data structure that is described in the hierarchyid data. So, after you prepare your data structure you can bind the treeview to it. I am attaching a sample project demonstrating how to bind RadTreeView to a WCF web service - you can use it as a basis and modify it to fetch the data from your database and construct the data structure.

Greetings,
Tihomir Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
reema
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or