I am using a Rad grid with no paging.
All the columns in the grid are GridBoundColumns
I want to have the total number of these records at the bottom or on top of the grid.
Can you help me to achieve this
Try setting the Footer for displaying the total number of records in footer.
ASPX:
<Columns>
<telerik:GridBoundColumn DataField="Name"Aggregate="Count"FooterText="Total number of Records :"HeaderText="Name"SortExpression="Name"UniqueName="Name"></telerik:GridBoundColumn>
I am unable to see the method: Aggregate
I am using a <rad:GridBoundColumn > </rad:GridBoundColumn>
and not a <telerik:GridBoundColumn ></telerik:GridBoundColumn>
If you intend to use its ASP.NET predecessor, consider calculating the aggregates manually as explained in this help topic (see the paragraph named "Programmatic solution").