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

Click on nodes to view the next level nodes in RadTreeMap

1 Answer 51 Views
TreeMap and PivotMap
This is a migrated thread and some comments may be shown as answers.
Chalam
Top achievements
Rank 1
Chalam asked on 20 Jul 2012, 05:29 AM
Hi,

i am using RadTreeMap in my silverlight project, i have data like country-states-districts,i want to display countrys at first when map loaded.
after that when i click on some country node the map should be display states regarding country, and click on state map should display districts.please help me and if you have any sample project please attach that

Thanks in Advance 

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 Jul 2012, 10:04 AM
Hi Chalam,

Since you mentioned map, here we have one example that demonstrates the same scenario using RadMap that visually shows the states and districts.

Back to the TreeMap, currently it doesn't support drill down out of the box. You can create one yourself by using the selection functionality demonstrated here. Here is one idea: At first you can load all the states and show them in the RadPivotMap using only 1 group definition. When you click on a state you can get all the districts in that state in your code behind and change the ItemsSource and the group definition of the treemap. Going up can be done using the same approach.

You can find information on data binding the RadPivotMap in this topic in our online help system.

Kind regards,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TreeMap and PivotMap
Asked by
Chalam
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or