Hi,
Im evaluating the telerik treeview component and trying to get it to work with a dataset, ParentIDMember and Relation but i just can't get it to work with both ParentIDMember and relations between multiple tables in the dataset. One at a time works.
The dataset contains two tables.
One folders table with folderid, parentfolderid and foldername columns. This table work find to bind with the treeview using the ParentIDMember to get a hierarchy treeview of the folders.
The second table contains data that should be found in a specific folderid with two columns of FolderID and ObjectName. The treeview shows the relational data if i do not use the ParentIDMember property on the treeview, but then i dont get the hierarchy of the folders in the view and the ObjectName doesnt show up at all when using the ParentIDMember property.
Should this work or do i have to work with ParentIDMember OR relations between tables to show hierarchy treeview of data?
//Mathias
Im evaluating the telerik treeview component and trying to get it to work with a dataset, ParentIDMember and Relation but i just can't get it to work with both ParentIDMember and relations between multiple tables in the dataset. One at a time works.
The dataset contains two tables.
One folders table with folderid, parentfolderid and foldername columns. This table work find to bind with the treeview using the ParentIDMember to get a hierarchy treeview of the folders.
The second table contains data that should be found in a specific folderid with two columns of FolderID and ObjectName. The treeview shows the relational data if i do not use the ParentIDMember property on the treeview, but then i dont get the hierarchy of the folders in the view and the ObjectName doesnt show up at all when using the ParentIDMember property.
Should this work or do i have to work with ParentIDMember OR relations between tables to show hierarchy treeview of data?
//Mathias