Silverlight TreeMap Version needs

12 posts, 2 answers
  1. MohanRajP - PmR
    MohanRajP - PmR avatar
    14 posts
    Member since:
    Aug 2012

    Posted 08 Aug 2012 Link to this post

    Telerik Silverlight Tererik Treemap needs mininum which version of Silverlight, is Silverlight 4 enough? else need Silverlight 5?

  2. Answer
    Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 08 Aug 2012 Link to this post

    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
  3. DevCraft banner
  4. MohanRajP - PmR
    MohanRajP - PmR avatar
    14 posts
    Member since:
    Aug 2012

    Posted 10 Aug 2012 Link to this post

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

    Posted 10 Aug 2012 Link to this post

    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.

  6. MohanRajP - PmR
    MohanRajP - PmR avatar
    14 posts
    Member since:
    Aug 2012

    Posted 13 Aug 2012 Link to this post

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

    Posted 15 Aug 2012 Link to this post

    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.

  8. MohanRajP - PmR
    MohanRajP - PmR avatar
    14 posts
    Member since:
    Aug 2012

    Posted 16 Aug 2012 Link to this post

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

    Posted 17 Aug 2012 Link to this post

    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.

  10. MohanRajP - PmR
    MohanRajP - PmR avatar
    14 posts
    Member since:
    Aug 2012

    Posted 17 Aug 2012 Link to this post

    Hi,
     Yes, I can selection event through isselection true, but I can't get the selected object in that, is there any problem?
  11. Answer
    Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 20 Aug 2012 Link to this post

    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.

  12. MohanRajP - PmR
    MohanRajP - PmR avatar
    14 posts
    Member since:
    Aug 2012

    Posted 16 Jan 2013 Link to this post

    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?
  13. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Jan 2013 Link to this post

    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.

Back to Top
DevCraft banner