Regarding RadTreeview click event

8 posts, 0 answers
  1. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 22 Dec 2009 Link to this post

    Hi,

          I have generated RadTreeview in silverlight. Now I want to generate different Radchart for example

    RadTreeview is looking like this :

    >Enterprise
         > Account Management
         > Onsite Support
         > Data Center
         > Sales


    when I click Account management it has to generate Account Management related Radchart when I click Onsite support It has to generate Onsite Support related Radchart. etc...

    Please provide me solution for the above problem.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 22 Dec 2009 Link to this post

    Hi Santosh Hegde,

    This scenario is supported from RadTreeView and RadChart controls. Is there any problems that you are facing. Basically you will need to bind the DataContext of the RadChart to the RadTreeView.SelectedItem. This way the data for the charting component will be get from the currently selected item of the treeview.


    Please let us know if you need any additional questions regarting this scenario, or if you face any problems implementing it.

    Regards,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 22 Dec 2009 Link to this post

    Can you please provide some sample application RadTreeview click  event 
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 22 Dec 2009 Link to this post

    Hello Santosh Hegde,

    In Silverlight the treeview has a selection event, not a click event. To see a code how to deal with the selection event of the Treeview, please check this help article:
    http://www.telerik.com/help/silverlight/radtreeview-feautres-treeviewitem-selection.html


    Greetings,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 24 Dec 2009 Link to this post

    Hi,

          I have generated RadTreeview in silverlight. Now I want to generate different Radchart for example

    RadTreeview is looking like this :

    >Enterprise
         > Account Management
         > Onsite Support
         > Data Center
         > Sales


    when I click Account management it has to generate Account Management related Radchart when I click Onsite support It has to generate Onsite Support related Radchart. etc...

    Hey for this can you please send some sample silverlight application with bind the Datacontext of the radchart and  RadTreeView.SelectedItem. I need one sample application I went through all your Telerik documentation but I did't understand.
  6. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 28 Dec 2009 Link to this post

    Hello Santosh Hegde,

    For more info you can check and theSales Dashboard example code. It is available for download from your account.

    Please also find a sample code below that binds to the treeview selected item.


    <StackPanel >
        <TextBlock Text="Declare the TreeView:" FontSize="24"/>
        <telerikNavigation:RadTreeView x:Name="RadTreeView1">
            <telerikNavigation:RadTreeViewItem Header="Item1"></telerikNavigation:RadTreeViewItem>
            <telerikNavigation:RadTreeViewItem Header="Item2"></telerikNavigation:RadTreeViewItem>
            <telerikNavigation:RadTreeViewItem Header="Item3"></telerikNavigation:RadTreeViewItem>
            <telerikNavigation:RadTreeViewItem Header="Item4"></telerikNavigation:RadTreeViewItem>
        </telerikNavigation:RadTreeView>
        <TextBlock Text="Binded control:" FontSize="24"/>
        <TextBlock DataContext="{Binding ElementName=RadTreeView1}" Text="{Binding Path=SelectedItem.Header}"></TextBlock>
    </StackPanel>

    Please let us know if you need more help.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 07 Jan 2010 Link to this post

    Hey where can I get Salesdash board  download 
  8. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 08 Jan 2010 Link to this post

    Hi Santosh Hegde,

    It is available under the downloads section in your Telerik account.

    All the best,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top