I want to add a button into the trackball information that is displayed. I can add a button and it displays but the MouseLeftButtonUp never fires. Also, in the code behind I cannot access "btnDD" in the example below.
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartTrackBallBehavior ShowTrackInfo="True"
ShowIntersectionPoints="True"
TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated"/>
</telerik:RadCartesianChart.Behaviors>
<telerik:RadCartesianChart.TrackBallInfoStyle>
<Style TargetType="telerik:TrackBallInfoControl">
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding}"
FontSize="14"
Foreground="Blue"/>
<Button x:Name="btnDD" MouseLeftButtonUp="btnDD_MouseLeftButtonUp">View Files</Button>
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:RadCartesianChart.TrackBallInfoStyle>
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartTrackBallBehavior ShowTrackInfo="True"
ShowIntersectionPoints="True"
TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated"/>
</telerik:RadCartesianChart.Behaviors>
<telerik:RadCartesianChart.TrackBallInfoStyle>
<Style TargetType="telerik:TrackBallInfoControl">
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding}"
FontSize="14"
Foreground="Blue"/>
<Button x:Name="btnDD" MouseLeftButtonUp="btnDD_MouseLeftButtonUp">View Files</Button>
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:RadCartesianChart.TrackBallInfoStyle>