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

[Solved] Display Number of Rows

2 Answers 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mehmet Atlihan
Top achievements
Rank 1
Mehmet Atlihan asked on 26 Jun 2008, 08:45 AM
Hello,
My requirement is hopefully straightforward. I would like to display the number of rows on a ajaxified grid (RadGrid control for Asp.net AJAX)  when  paging is disabled. Is it possible to do so on the Header or on the footer?

Thanks
Mehmet

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 26 Jun 2008, 09:26 AM
Hi Mehmet,

Try setting the Aggregate property to count for the GridBoundColumn as shown below. Also set the ShowFooter property to true.

ASPX:
 <telerik:GridBoundColumn UniqueName="ProductName" Aggregate="Count"  HeaderText="ProductName" DataField="ProductName > 
           </telerik:GridBoundColumn> 


Thanks
Princy
0
Daniel
Telerik team
answered on 26 Jun 2008, 09:28 AM
Hello Mehmet,

Please check the sample website I made for your convenience. It illustrates two possible approaches.

Best Regards,
Daniel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Mehmet Atlihan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Daniel
Telerik team
Share this question
or