Telerik Forums
UI for WPF Forum
7 answers
200 views

Hi

I'm testing your product and I'm like it so far but there are some things I can not comprehend.

I'm only using RadDocking by now and when I set the theme the behavior of my CustomListBox, which has nothing to do with your controls, changes.

To be precise the wrapping doesn't work anymore.

The pictures are attached below.

How can I avoid such interactions?

 

 

Sia
Telerik team
 answered on 22 Nov 2017
7 answers
211 views
 In Visual Studio it's possible to open a "navigation window" by pressing Ctrl + tab. This window shows active tool windows and active files. Do you have anything similar in Telerik docking? What I need is a way to navigate between radpanes using the keyboard.

Regards
Arnstein Volden
Kalin
Telerik team
 answered on 22 Nov 2017
3 answers
540 views

My XAML is as follows

 

<telerik:RadCartesianChart Name="chart" Palette="Ground" Canvas.Left="20" Width=" 1250" Canvas.Top="130" Height=" 550" Background="White" >
                        <telerik:RadCartesianChart.HorizontalAxis>
                            <telerik:CategoricalAxis />
                        </telerik:RadCartesianChart.HorizontalAxis>

                        <telerik:RadCartesianChart.VerticalAxis>
                            <telerik:LinearAxis HorizontalAlignment="Right" />
                        </telerik:RadCartesianChart.VerticalAxis>
 </telerik:RadCartesianChart>

 

 

And in the code behind I am adding the series dynamically

Dim style As New Style(GetType(Border))
style.Setters.Add(New Setter(Border.BackgroundProperty, New SolidColorBrush(Colors.LightGray)))

 

 For i As Integer = 0 To ChartDataModel.Data(0).Values.Length - 1
                    Dim barSeries As New Telerik.Windows.Controls.ChartView.BarSeries()
                    barSeries.CategoryBinding = New PropertyNameDataPointBinding() With {.PropertyName = "Title"}
                    Dim k As Integer = i
                    barSeries.ValueBinding = New GenericDataPointBinding(Of OC_ChartData, Double) With {.ValueSelector = Function(Selector) Selector.Values(k)}
                    barSeries.SetBinding(ChartSeries.ItemsSourceProperty, New Binding("Data"))
                    barSeries.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack
                    barSeries.StackGroupKey = "Group" & i.ToString
                    'If i = 0 Then barSeries.DefaultVisualStyle = style
                    chart.Series.Add(barSeries)
                Next
                chart.DataContext = ChartDataModel

 

1. The color of Series 0 is not set. Can you point what is going wrong

2. I want to have the tool tip to contain the actual Y value. How can I get the Y value of a particular bar.

 

Martin Ivanov
Telerik team
 answered on 22 Nov 2017
3 answers
194 views
We're evaluating RadChart 2011-Q3. We like the tooltip concept, but it would be much more useful to us if we could somehow get both the Y axis and X axis value to display to the user. I can't seem to find a way to do this. Is it possible?

Thank you.
Martin Ivanov
Telerik team
 answered on 22 Nov 2017
1 answer
92 views

I've been trying to load a plugin from a Plugins\ folder, as soon as I use Assembly.LoadFile(), the Grid's stop displaying data and have lost their Expression_Dark design.

The plugin references the main assembly (which references Telerik) as well as our WPF library, which references Telerik too.

What's going on?

Martin Ivanov
Telerik team
 answered on 22 Nov 2017
5 answers
136 views

Hello there,

I watched demo about RadChartView integration but unfortunately the source code of the most important part (create SeriesSource for Chart) did not provide. So how can I get the sorted rows, columns and build datasource for Chart manually? Thank for you help!

Martin Ivanov
Telerik team
 answered on 22 Nov 2017
0 answers
205 views

Hello,

I know there are already a couple of threads about backspace with RadComboBox but I can't find something specific enough to solve my problem. Let me explain it. I have two RadComboBox in two different screens of my app with different behaviors even though they seem to have the same properties. I used the debug mode to capture and compare every property of my comboboxes.

In the first screen when I hit the backspace button, the content of my combobox is removed while in the second screen it remains when I hit that button. The differences I noticed with the debug mode using a SelectionChanged event :

- Behavior 1 : In my first screen, after I hit backspace, SelectedIndex is set to -1, SelectedValue is set to null, SelectedItem is set to null and SelectionItemBox is set to null.

- Behavior 2 : In my second screen, after I hit backspace, SelectedIndex is set to -1, SelectedValue is set to null but SelectedItem and SelectionItemBox keep their values so the view still displays the value.

After hours of research, I still can't figure out what may cause that divergence. Both of my RadComboBox are declared the same way in xaml file  : 

<telerik:RadComboBox
      x:Name="listContact"
      ItemsSource="{Binding ListContactSignatureSales, Mode=OneWay}"
      DisplayMemberPath ="FullName"
      SelectedItem="{Binding Montage.ContratSales.ContactSignatureVente, Mode=TwoWay}"
      IsSynchronizedWithCurrentItem="false"
      PreviewKeyDown="RadComboBox_PreviewKeyDown"
      SelectionChanged="RadComboBox_SelectionChanged"
      Grid.Row="1" Grid.Column="2" Margin="5,0"
/>
<telerik:RadComboBox
     x:Name="listAdresse"
     ItemsSource="{Binding ListeAdresseDispo, Mode=OneWay}"
     DisplayMemberPath="DescriptionAdresse"
     SelectionChanged="listAdresse_SelectionChanged"
     PreviewKeyDown="listAdresse_PreviewKeyDown"
     SelectedItem="{Binding SelectedAdresse, Mode=TwoWay}"
     Grid.Row="3" Grid.Column="0"
/>

I added the PreviewKeyDown and SelectionChanged handlers myself for debug purposes and the IsSynchronizedWithCurrentItem property is set with a style in my xaml file for the second combobox :

<Style TargetType="telerik:RadComboBox">
     <Setter Property="FontFamily" Value="Calibri"/>
     <Setter Property="FontSize" Value="13"/>
     <Setter Property="FontWeight" Value="Normal"/>
     <Setter Property="Foreground" Value="Black"/>
     <Setter Property="BorderThickness" Value="1"/>
     <Setter Property="BorderBrush" Value="#FFDEDEDE"/>
     <Setter Property="Background" Value="White"/>
     <Setter Property="IsSynchronizedWithCurrentItem" Value="false"/>
     <Setter Property="Margin" Value="0,0,0,5"/>
</Style>

However the application is quite big so there might be other styles or general resources that I don't know of and that could be applied to one combobox and not the other (but I did not find any after digging a lot). I am sure that there is nothing in the code-behind concerning both these comboboxes (which means that there is no trick with events like PreviewKeyDown or SelectionChanged that would set the SelectedItem manually).

Have you any idea that could help me out ? Do you know any mechanism in your framework that could explain the difference between both my cases ?

Note : I have not been able to reproduce the second behavior in an external sample project so I understand that the "normal" behavior should be the first. However my client asks for the second behavior to be implemented and he says that it's already done in one screen which is true, I just can't figure out how...
Do not hesitate to ask for clarifications if I did not explain my problem clearly.

Thanks for your help,

Quentin.

Quentin
Top achievements
Rank 1
 asked on 21 Nov 2017
1 answer
107 views

Hi everybody

I am trying to Create a Chart that show bar series on a long period 2years or more . And I want that theStep unit to be month. the problem is that the graph don't show more than 12 months ? like in the next document

thi is my used code
thanks for help

1.<telerik:RadCartesianChart.HorizontalAxis>
2.                    <telerik:DateTimeContinuousAxis GapLength="0.9"
3.                                                    LabelFormat="MMMyy"
4.                                                    MajorStep="1"
5.                                                    MajorStepUnit="Month"
6.                                                    PlotMode="OnTicks" />
7.                </telerik:RadCartesianChart.HorizontalAxis>

 

Martin Ivanov
Telerik team
 answered on 21 Nov 2017
7 answers
347 views
I have RadCartesianChart with 10 CategoricalDataPoints. How can i set color for each CategoricalDataPoint programmatically?
Martin Ivanov
Telerik team
 answered on 21 Nov 2017
4 answers
124 views

Hi.

I got a request from one of our users to be able to reorder the resource columns. Is there a way to accomplish it with drag and drop?

Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Nov 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?