Telerik Forums
UI for WPF Forum
3 answers
141 views
With the RadChart control, it is possible to get hold of the plot area and enable disable custom grid lines to identify mouse cursor position.

I want to acheive the same thing with the RadChartView.  Is it possible.  I know you have the "ChartTrackBallBehavior" facility, but I want to be able to control how it works.  e.g. I want it to remain when mouse not over the chart, and would prefer its operation to run a mouse action such as RightMouseDown.

Thanks
Craig

Evgenia
Telerik team
 answered on 29 Mar 2012
3 answers
106 views
When I set this number greater than the amount of items in the carousel, nothing shows up.  The carousel controls show, just none of the items.  I set the number to what looks good, but then when users delete data, the items are gone.  Any ideas?

Thanks,
David Ribb
Maya
Telerik team
 answered on 29 Mar 2012
1 answer
76 views
Hello,

My business object properties have a attribute DisplayIndex and I want to set the order of my datafields to this displayindex.

DisplayIndexAttribute displayIndexAtt;
 if (property.TryGetAttribute<DisplayIndexAttribute>(out displayIndexAtt))
            {
        
                e.Order = displayIndexAtt.index;
            }

This is working fine. But the problem is that not all properties have the displayindex attribute, so for some properties e.Order is null. I expected that these properties are displayed at the end of the dataform, but instead they are at the beginning.

Is there a way to change this behavior in the way that the properties without an explicit order will be at the end of the Dataform?
Pavel Pavlov
Telerik team
 answered on 29 Mar 2012
1 answer
109 views
Hello!

I have problem. I placed RadNumericUpDown control and set its value to 15 for default.
Now, I added event for ValueChanged:

private void FVSdValue_ValueChanged(object sender, RadRangeBaseValueChangedEventArgs e)
   {
       HSdValue.Value = 0.2 * FVSdValue.Value;
   }

When I start application I'm getting NullReferenceException - the object couldn't be found (Object reference not set to an instance of an object.)

This happens also for other controls. What am I doing wrong?

The HSdValue is also RadNumericUpDown, located below the FVSdValue.
Konstantina
Telerik team
 answered on 29 Mar 2012
1 answer
70 views
Hi,
I need to use a WPF TimeBar control within a legacy winforms application (as there isnt one in the winforms suite).
Is it possible to simply host your WPF TimeBar control inside an ElementHost on a winforms form ?
If so, would there be any limitations or things that may not work as anticipated ?

Thanks,
S.
Evgenia
Telerik team
 answered on 29 Mar 2012
3 answers
169 views
Hi,

I had found an issue with WPF TimePicker control for .Net 4.0.
When I type in 130 in the time field, it gets converted to 1PM. Its coz it considers it as 13 and 0.So it becomes 1:00PM instead of 1:30AM.
Similary 230 converts to 11PM, thinking its 23:00hrs.
This issue works fine in ASP.Net control (ie:130 gets converted to 1:30AM). I had tried with the demo version of the latest release.

Is this a bug?

Thanks
Konstantina
Telerik team
 answered on 29 Mar 2012
1 answer
242 views
I just download telerik for WPF.

I use ChartView and i would like to bind String on Horizontal Axis and sort it on an other binding.

Is it possible ?

            <chart:RadCartesianChart Name="BarChart" Palette="Metro" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
                <chart:RadCartesianChart.HorizontalAxis>
                    <chartView:CategoricalAxis Title="HorizontalAxis" LabelFitMode="MultiLine" LabelStyle="{StaticResource AxisLabelStyle}" >
                        <chartView:CategoricalAxis.TitleTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding StepPosition}" Margin="0,6,0,10" Style="{StaticResource AxisTitleStyle}" />
                            </DataTemplate>
                        </chartView:CategoricalAxis.TitleTemplate>
                    </chartView:CategoricalAxis>
                </chart:RadCartesianChart.HorizontalAxis>
 
                <chart:RadCartesianChart.VerticalAxis>
                    <chartView:LinearAxis  Title="VerticalAxis" LabelStyle="{StaticResource AxisLabelStyle}" >
                        <chartView:LinearAxis.TitleTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding}" Margin="0,6,0,10" Style="{StaticResource AxisTitleStyle}" />
                            </DataTemplate>
                        </chartView:LinearAxis.TitleTemplate>
                    </chartView:LinearAxis>
                </chart:RadCartesianChart.VerticalAxis>
 
                <chartView:BarSeries ItemsSource="{Binding Inventory.View}" ValueBinding="CountBatch" CategoryBinding="StepPosition" 
StringBinding="Step"
/>                                           </chart:RadCartesianChart>
Petar Marchev
Telerik team
 answered on 29 Mar 2012
3 answers
170 views
Is it possible to make the Grid create a GroupDescriptor instead of a ColumnGroupDescriptor? I modified the header of the grid columns to have buttons that perform actions when the user clicks on them. Now when the user groups by a column I can see the buttons on the grouppanel as well.
Nedyalko Nikolov
Telerik team
 answered on 29 Mar 2012
1 answer
77 views
Hello,

I am seeing a weird behaviour with the TreeListView where it appears that it is creating new items upon calling ExpandAll().  I am curious as to whether this is a known issue, or whether anyone else has seen this too.

I bind my TreeListView to a list that has a total of 87,954 rows.  There are 18,493 top-level rows and the remainder are children (at various depths).  I have exposed a button on the UI that simply calls ExpandAll() on the TreelistView.  After this is clicked, the TreeListView displays a varying numbers of rows, all of which are greater than 87,954.  Each time I launch the app and click the "expand all" button, I get different numbers of rows.  I have seen 88,228, 88,232, 87,985 etc. - each of which is larger than the 87,954 as expected.  I have confirmed that my bound collection has not changed, so I am lead to believe that somehow more items are being created during the expansion process.  I have also noticed that if I try to scroll to the bottom of the TreeListView, it chokes and stops responding for some time before it will allow me to scroll to the bottom.

All these issues make me think that I am seeing a bug in the ExpandAll functionality.  Can anyone confirm?  (I am using the Q3, 2011 build.  I will try the latest build shortly, but I am not at a point in our release where updating is possible.)

Thanks,
Mark
Nedyalko Nikolov
Telerik team
 answered on 29 Mar 2012
2 answers
114 views
The Telerik Work Item Manager application uses Log4Net as its logging component. It defines a configuration section for Log4Net inside the app.config file. The problem I'm having is, we use Log4Net extensively here at this company, and we've already defined Log4Net blocks inside our machine.config files. When Work Item Manager starts up, it sees these conflicting configuration blocks and throws an exception.

Can someone explain how I can work around this to start up Work Item Manager? Perhaps there's a way to disable Log4Net for WIM so it doesn't initialize those components? It seems silly that just because I have Log4Net preconfigured on my machine that I'm not allowed to use this application.
Jake
Top achievements
Rank 1
 answered on 28 Mar 2012
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?