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

Silverlight TreeMap Version needs

11 Answers 73 Views
TreeMap and PivotMap
This is a migrated thread and some comments may be shown as answers.
MohanRajP - PmR
Top achievements
Rank 1
MohanRajP - PmR asked on 08 Aug 2012, 08:49 AM
Telerik Silverlight Tererik Treemap needs mininum which version of Silverlight, is Silverlight 4 enough? else need Silverlight 5?

11 Answers, 1 is accepted

Sort by
0
Accepted
Lancelot
Top achievements
Rank 1
answered on 08 Aug 2012, 03:34 PM
Hi Mohan,

RadTreeMap can be used in Silverlight 4. You have to make sure you are using the Silverlight 4 DLLs, otherwise your project wont work.

Log into your Telerik account and navigate to your products page. Select the "Download: Installer and other resources" button for the RadControls for Silverlight. You'll see a section that contains the binaries for the controls. You want the one that is labeled "Silverlight 4- DLLs only"

Good luck,
Lancelot
0
MohanRajP - PmR
Top achievements
Rank 1
answered on 10 Aug 2012, 07:08 AM
Hi,
Thanks for your info.
Can I bind the labelpath as a hyperlink and also add button? and its actions?

Also, is there drill down treemap in telerik?

Like If I click parent, have to navigate child treemap.

Regards,
MohanRajP
0
Yavor
Telerik team
answered on 10 Aug 2012, 02:11 PM
Hi Mohan,

RadTreemap allows you to specify a custom item template for your nodes (items with children) and your leaves (items without children). In your TypeDefinition add ItemTemplate like this:

<telerik:TypeDefinition TargetTypeName="Folder" ValuePath="Size" LabelPath="Name" ChildrenPath="Children" ToolTipPath="Size">
    <telerik:TypeDefinition.ItemTemplate>
        <telerik:HierarchicalDataTemplate ItemsSource="{Binding Children}">
            <HyperlinkButton Content="{Binding Label}" />
        </telerik:HierarchicalDataTemplate>
    </telerik:TypeDefinition.ItemTemplate>
</telerik:TypeDefinition>

Now all of the Folders will use a hyperlink button to display their label. I have attached a sample app that demonstrates this approach.

Regards,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
MohanRajP - PmR
Top achievements
Rank 1
answered on 13 Aug 2012, 09:19 AM
Hi,
 Thanks, its working fine. what about itemtemplace has two items when I tried it throws error like can't have more than one item.

1)
<telerik:HierarchicalDataTemplate ItemsSource="{Binding Children}">
            <HyperlinkButton Content="{Binding Label}" />
                <image x:name="imgchk" source="..\image1"/>
        </telerik:HierarchicalDataTemplate>

I need a solution like this, is it possible in telerik treemap, please refer the attach

2) Also any legend control for Treemap, I have to change the color depth through this control by manually. 
3) Min and Max range of ValueBrushColorizer value how to handle in code behind ie., textbox values or any other control.
0
Yavor
Telerik team
answered on 15 Aug 2012, 08:59 AM
Hello Mohan,

1) You can put more items in your data template if you place them in a panel. You can find more information on panels in MSDN.

2) Currently we don't provide a legend control for treemaps, so it is up to you to create one.

3) All colorizers can be created and set-up in code behind.

Greetings,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
MohanRajP - PmR
Top achievements
Rank 1
answered on 16 Aug 2012, 05:11 AM
Hi,
 Thanks Yavor, and 2 more quetions for my requirements,

1. Can we fire click event on each items? and have to get the object what clicked / selected item on the event?
2. Can we used Breadcrumb with Treemap?

Thanks & Regards,
MohanRajP
0
Yavor
Telerik team
answered on 17 Aug 2012, 08:31 AM
Hi Mohan,

1) You can enable selection by setting the IsSelectionEnabled to True and hooking up the SelectionChanged event.

2) Yes, breadcrumb and treemap can work together. I have prepared for you a small demo application that shows how to connect them.

All the best,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
MohanRajP - PmR
Top achievements
Rank 1
answered on 17 Aug 2012, 08:34 AM
Hi,
 Yes, I can selection event through isselection true, but I can't get the selected object in that, is there any problem?
0
Accepted
Yavor
Telerik team
answered on 20 Aug 2012, 07:33 AM
Hi Mohan,

You can get the selected item from the selection changed event arguments like this:

private void treeMap1_SelectionChanged(object sender, Telerik.Windows.Controls.TreeMap.SelectionChangedRoutedEventArgs e)
{
    MessageBox.Show(e.SelectedItem != null ? e.SelectedItem.ToString() : "{null}" );
}
All the best,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
MohanRajP - PmR
Top achievements
Rank 1
answered on 16 Jan 2013, 03:16 PM
Hi,
I need to change radgridview filter icon color through fill or something. I done for header filter icon thorugh filtering dropdown template but same not applicable for filtering row filter. what will be the control template ?
can you please guide?
0
Vlad
Telerik team
answered on 21 Jan 2013, 07:56 AM
Hello,

 It will be better if you post your grid questions in the RadGridView category. In this way the community will be able to answer your or check the answer provided. 

Regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TreeMap and PivotMap
Asked by
MohanRajP - PmR
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
MohanRajP - PmR
Top achievements
Rank 1
Yavor
Telerik team
Vlad
Telerik team
Share this question
or