Click on nodes to view the next level nodes in RadTreeMap

2 posts, 0 answers
  1. Chalam
    Chalam avatar
    12 posts
    Member since:
    Jan 2012

    Posted 20 Jul 2012 Link to this post

    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 
  2. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 23 Jul 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top