Telerik Forums
UI for WPF Forum
3 answers
84 views
Hi!

I filter data in Radgridview and then change this data dynamically. But when I want to clear filter (changed data) nothing clears. 
What is solution? Can you help?
Vlad
Telerik team
 answered on 16 Jun 2010
1 answer
112 views
We are experiencing serious performance issues using the RadChart as the number of series increases.  At times we receive a Stack Overflow exception from with the charting code.  The problem appears to be related to using a Categorical X-Axis.  For a Categorical X-Axis it appears that the chart loading time increases exponentially as the # of series increases.  Using a Numerical  X-Axis does not cause a problem and the load time increases linearly as the # of series is increases.

I created a simple example application that charts a bar series.  With only 3 Points per series the load times were as follows:

100 Series (300 total points): 3.4 sec
200 Series (600 total points): 13.9 sec
400 Series (1200 total points): 57.5 sec
800 Series (2400 total points):  Stack Overflow exception

As the series count doubles the load time increases 4X.  As a comparison, 1200 points in 400 series takes 57.5 sec, but the same number of points in only 1 series (1200 points) plot  < 1 sec.

Using a numerical X-Axis the 400 Series x 3 points plots in 10 sec.

I have turned animations off, and data sampling will not help since the problem occurs with very few points per series.

Looking at the call stack during the exception the problem appears to be causes during processing of the categories for the X-Axis.  For the above examples the were only a total of 3 categories on the X-Axis.

I am also submitting a support ticket with a sample application.
Ves
Telerik team
 answered on 16 Jun 2010
3 answers
77 views
*Edit* Please fix title to say "Hierarchical Objects from Serialized XML"

I have decided to go away from xml databinding and instead use object databinding because of the advantages you get using OnPropertyChanged.  The easiest way to get this done is to create a xsd of your xml and then use a program called Xsd2Code to have all your properties contain OnPropertyChanged.

I have created the xsd and generated file with no problems, but I can not get the treeview to display the serialized data.

I am having problems going more than 1 layer deep.  I am including my sample program to keep this post shorter and easier for everyone.  It can be found here

Thanks in advance
Mark




Miro Miroslavov
Telerik team
 answered on 16 Jun 2010
1 answer
111 views
Hi guys,

I have found this article http://www.telerik.com/help/silverlight/gridview-how-to-create-external-filtering.html
which explains how to do nice external custom search on all the columns of the grid.

In that example it is convenient that all of the columns are strings which makes the problem a little bit easier.

In my code most of the columns are strings but I also have some that are DateTime, enums (status fields), and integers.

I know how to exclude these columns from participating in the search but that is not acceptable solution. I need to be able to search all the columns regardless of the input.

Is there a way to set all of the columns to be of type:String for filtering function (but for sorting they need to be of the correct type DateTime, int, etc)?
Any suggestion on how to solve my problem are helpful.


Thanks,







Veselin Vasilev
Telerik team
 answered on 15 Jun 2010
1 answer
76 views
Hi.
I'm using the latest (I believe it's 2010.1.603.35) version, and found if I put TickLineStyle on Y Axis (I just changed the color) the ticks of X Axis all go funny - They lean horizontally.

I need to make the axis lines and tick lines white.
Is there a way to fix this problem or any other way to make them white rather than using the styles?

        <Style x:Key="Chart_GridLine" TargetType="{x:Type Line}"
            <Setter Property="Stroke" Value="White"/> 
        </Style> 
        <Style x:Key="Chart_TickLine" TargetType="{x:Type Line}"
            <Setter Property="Stroke" Value="White"/> 
            <Setter Property="StrokeThickness" Value="1"/> 
        </Style> 
        <Style x:Key="Chart_AxisLine" TargetType="{x:Type Line}"
            <Setter Property="Stroke" Value="White"/> 
            <Setter Property="StrokeThickness" Value="2"/> 
        </Style> 



<telerik:ChartDefaultView.ChartArea> 
                            <telerik:ChartArea> 
                                <telerik:ChartArea.AxisX> 
                                    <telerik:AxisX StripLinesVisibility="Visible" MajorGridLinesVisibility="Visible"
                                        <telerik:AxisX.AxisStyles> 
                                            <telerik:AxisStyles  
                                                AxisLineStyle="{StaticResource Chart_AxisLine}" 
                                                GridLineStyle="{StaticResource Chart_GridLine}" 
                                                TickLineStyle="{StaticResource Chart_TickLine}"/>            
                                        </telerik:AxisX.AxisStyles>          
                                    </telerik:AxisX> 
                                </telerik:ChartArea.AxisX> 
                                <telerik:ChartArea.AxisY> 
                                    <telerik:AxisY MinorTicksVisibility="Collapsed"
                                        <telerik:AxisY.AxisStyles> 
                                            <telerik:AxisStyles  
                                                AxisLineStyle="{StaticResource Chart_AxisLine}" 
                                                TickLineStyle="{StaticResource Chart_TickLine}"/>            
                                        </telerik:AxisY.AxisStyles>          
                                    </telerik:AxisY> 
                                </telerik:ChartArea.AxisY> 
                            </telerik:ChartArea> 
                        </telerik:ChartDefaultView.ChartArea> 
Velin
Telerik team
 answered on 15 Jun 2010
2 answers
102 views
Hi,
I'm using TreeView with the checkbox enabled

<telerik:RadTreeView MinWidth="150"  
                                     IsLineEnabled="True"  
                                     ItemsOptionListType="CheckList"  
                                     x:Name="leftTree"  
                                     IsTriStateMode="True"  
                                     IsOptionElementsEnabled="True"  
                                     ItemTemplate="{StaticResource dataTemplate}"/> 

So the basic usage:
The treeview has no checked items to begin with and is collapsed. The user should be able to check the top item.

So the problem is that I cannot iterate through the checked item collection when the tree is collapsed because the items do not exist.
Is there any way to have the items created so I can iterate through them without expending the tree.

Best regards
Kristján.
Valentin.Stoychev
Telerik team
 answered on 15 Jun 2010
4 answers
133 views
Hello,
When I use RadAlert in windows7 I found that it can not show correctly except some fonts, just like the visibility property is set to hidden, is there any way to solve this problem?
thank you!
Miroslav Nedyalkov
Telerik team
 answered on 15 Jun 2010
4 answers
119 views

Hi,
I'm trying to use this control, but I'm finding many problems and lose much time because I do not understand what is working and what is not.
I'm trying to run these events need to manage running some limitation that I want to impose on any of these items dynamically but it seems that events need not work.
It 'possible that these events are not implemented?

PreviewDragEnter
PreviewDragLeave
DragEnter
DragLeave

Thanks Marcello

Tina Stancheva
Telerik team
 answered on 15 Jun 2010
5 answers
222 views
DEFINE TEMPLATE

        <DataTemplate x:Key="MiaSubCategoria">
            <StackPanel Orientation="Horizontal">
                   <TextBlock Text="{Binding Nome}"/>
            </StackPanel>
        </DataTemplate>
        
       <HierarchicalDataTemplate x:Key="MiaCategoria"
                                 ItemTemplate="{StaticResource MiaSubCategoria}"
                                 ItemsSource="{Binding SubCategorie}">
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="{Binding Nome}"/>
            </StackPanel>
        </HierarchicalDataTemplate>

 
SET TREEVIEW:

      <telerikNavigation:RadTreeView Canvas.Left="62" Canvas.Top="25" Height="137" Name="RadTreeView1" Width="486"  IsSingleExpandPath="True" TextDropAfter="Dopo" TextDropBefore="Prima" TextDropIn="In mezzo a" AllowDrop="True" IsDragDropEnabled="True" HorizontalContentAlignment="Stretch" IsExpandOnDblClickEnabled="False" IsExpandOnSingleClickEnabled="True" ItemTemplate="{StaticResource MiaCategoria}"/>


VB CODE FOR POPULATING TREE

Dim
miacollez As ObservableCollection(Of Categorie)

 

miacollez =

New ObservableCollection(Of Categorie)(MyEDM.Categorie.Include("SubCategorie"))

 

 

Me.RadTreeView1.ItemsSource = miacollez

 

 


Hi, I need clarification on how to handle correctly the label called DragTooltipText because I can not set the field name but I associate the name of dataobject (look image in attach). I tried with the styles but does not work .. I can only change colors but the content changes runtime clearly as I do?

Thanks for your cooperation

Marcello

PS: Sorry for my english

Tina Stancheva
Telerik team
 answered on 15 Jun 2010
1 answer
243 views
Hello,

I am using the latest version of the RadControls and the code in the WPF MVVM Support example to create a horizontal bar chart.  The example shows different colors in a regular bar chart, however, when I change it to a horizontal bar definition the fill colors in the rectangles disappear. What is the syntax for creating custom colors in a horizontal bar chart?  Is this possible?

Thank you.
Sia
Telerik team
 answered on 15 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?