This question is locked. New answers and comments are not allowed.
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
David Ocasio
asked on 06 Sep 2011, 06:57 PM
Internal build 823 seems to have a bug.
Used to be if i filtered a column a "count" aggregate function would recalc.
Now it doesn't even if i call ".CalculateAggregates()"
Please see attached snapshots.
The page I am using to demonstrate has not been changed for ages.
Blue Header screens are from an older build most likely the standard 712.
Red Header is using the 823 build.
As you can see it did calc and now it doesn't.
please advise
thanks
dco
Used to be if i filtered a column a "count" aggregate function would recalc.
Now it doesn't even if i call ".CalculateAggregates()"
Please see attached snapshots.
The page I am using to demonstrate has not been changed for ages.
Blue Header screens are from an older build most likely the standard 712.
Red Header is using the 823 build.
As you can see it did calc and now it doesn't.
please advise
thanks
dco
4 Answers, 1 is accepted
0
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 06 Sep 2011, 07:35 PM
As a followup.
For sake of my sanity I made an demo project and tested with 712 and 823 and got the same results.
712 recalcs
823 does not recalc
Please review pasted code.
thanks
dco
For sake of my sanity I made an demo project and tested with 712 and 823 and got the same results.
712 recalcs
823 does not recalc
Please review pasted code.
thanks
dco
Imports System.Collections.GenericImports System.Collections.ObjectModelImports System.ComponentModelImports System.ComponentModel.DataAnnotationsImports System.GlobalizationImports System.IOImports System.LinqImports System.Linq.ExpressionsImports System.Runtime.CompilerServicesImports System.ServiceModel.DomainServices.ClientImports System.WindowsImports System.Windows.ClipboardImports System.Windows.ControlsImports System.Windows.DataImports Telerik.Windows.ControlsImports Telerik.Windows.Controls.DragDropImports Telerik.Windows.Controls.GridViewImports Telerik.Windows.DataPartial Public Class MainPage Inherits UserControl Public Sub New() InitializeComponent() End Sub Private Sub MainPage_Loaded(sender As Object, e As System.Windows.RoutedEventArgs) Handles Me.Loaded Dim colExample As New ObservableCollection(Of classExample) colExample.Add(New classExample With {.Name = "FirstName", .Value = 1}) colExample.Add(New classExample With {.Name = "SecondName", .Value = 2}) colExample.Add(New classExample With {.Name = "ThirdName", .Value = 3}) gridExample.ItemsSource = colExample End SubEnd ClassPublic Class classExample <Display(Name:="Name", Description:="Name")> _ Public Property Name() As String Get Return _Name End Get Set(ByVal value As String) _Name = value End Set End Property Protected _Name As String <Display(Name:="Value", Description:="Value")> _ Public Property Value() As Integer Get Return _Value End Get Set(ByVal value As Integer) _Value = value End Set End Property Protected _Value As IntegerEnd Class<UserControl x:Class="agTesty2.MainPage" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <Grid x:Name="LayoutRoot" Background="White"> <telerik:RadGridView x:Name="gridExample" IsReadOnly="True" ShowColumnFooters="True" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name,Mode=OneWay}" > <telerik:GridViewDataColumn.AggregateFunctions> <telerik:CountFunction /> </telerik:GridViewDataColumn.AggregateFunctions> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn Header="Value" DataMemberBinding="{Binding Value,Mode=OneWay}" FooterTextAlignment="Right" > <telerik:GridViewDataColumn.AggregateFunctions> <telerik:SumFunction /> </telerik:GridViewDataColumn.AggregateFunctions> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid></UserControl>0
Hi David Ocasio,
Ross
the Telerik team
It is quite possible that you have located a bug. Could you please send us this small dummy project and we will debug it immediately to see what is going on. We need a runnable sample project that exhibits the erroneous behavior -- this will be the fastest way to identify the culprit.
Regards,Ross
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 07 Sep 2011, 01:22 PM
Ross,
Since the forum does not allow project or zip files
i have opened a ticket (461574)
and inclueded the project and snapshots there
I will post any results here for posterity.
thanks
dco
Since the forum does not allow project or zip files
i have opened a ticket (461574)
and inclueded the project and snapshots there
I will post any results here for posterity.
thanks
dco
0
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 07 Sep 2011, 01:57 PM
Confirmed as bug,
VVVVVVV
We confirm the issue with the column aggregates. We currently work on resolving it and we will do our best to provide a fix for it in one of the next internal builds.
^^^^^^^^^^
I will post the resolution when it comes for the forums
thanks
dco
VVVVVVV
We confirm the issue with the column aggregates. We currently work on resolving it and we will do our best to provide a fix for it in one of the next internal builds.
^^^^^^^^^^
I will post the resolution when it comes for the forums
thanks
dco