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

Binding to Items.Count

1 Answer 95 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 20 Jul 2010, 03:13 PM
I am trying to add a display bellow my grid which will show how many of the source items are displayed in the grid after filtering is applied.  I have two text Blocks, one bound to ItemsSource.Count, this works fine and the other bound to Items.Count this always shows a value of 0.  Is binding to this property not possible?  Is there another way to accomplish this easily that will work across multiple methods of applying filters.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 20 Jul 2010, 03:30 PM
Hello Andrew,

Basically, you should be able to bind to the property Items.Count, but it depends on the type of your data.
I am sending you a sample project that you can use as a reference. In case you have any further questions, please do not hesitate to get back to us.

Sincerely yours,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Andrew
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or