This is a migrated thread and some comments may be shown as answers.

[Solved] CountFunction weird behavior

2 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
C J
Top achievements
Rank 1
C J asked on 08 Dec 2009, 06:32 PM
Hi,

I used the count function to display some result on the grid footer, below is the code for the same

<telerikGridView:GridViewDataColumn  Header="User Name" DataMemberBinding="{Binding UserId}" IsGroupable="False" >

    <telerikGridView:GridViewDataColumn.AggregateFunctions>

        <telerikdata:CountFunction Caption="Count: " />
    </telerikGridView:GridViewDataColumn.AggregateFunctions>

</telerikGridView:GridViewDataColumn>


Suppose the Count=100, now if I try to do a filter on any columns of the grid, the count value changes depending on the number of records present inside the grid. If there are 50 rows in the grid then count = 50.

But when I went to http://demos.telerik.com/silverlight/#GridView/Totals & tried doing a filter then the count value remains unchanged.
I also need this kind of behavior with my grid.

Please can anyone suggest what needs to be done.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Dec 2009, 06:42 AM
Hi C J,

 Already fixed and the fix will be part of our service pack later today.


Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
C J
Top achievements
Rank 1
answered on 09 Dec 2009, 03:45 PM
thanks for clarification
Tags
GridView
Asked by
C J
Top achievements
Rank 1
Answers by
Vlad
Telerik team
C J
Top achievements
Rank 1
Share this question
or