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

How change footer's "count" text

1 Answer 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 30 May 2012, 01:23 AM
Hello friends,

I have already tried some stuff but I couldn't change the 'Count' footer text.

The counter has been added with the ShowFooter="True" tag and it seems to be working but I need to localize the "Count" word as attached.


<telerik:RadGrid ID="gdvPendenteAtendimento" runat="server" Width="99%" Height="480px"
                            PageSize="10" CellSpacing="0" GridLines="None" Skin="Office2010Silver" AllowPaging="true"
                            AllowSorting="true" AllowFilteringByColumn="true" OnItemDataBound="gdvPendenteAtendimento_ItemDataBound"
                            OnItemCommand="gdvPendenteAtendimento_ItemCommand" AlternatingItemStyle-CssClass="alt-color"
                            AutoGenerateColumns="False" ShowFooter="True" OnCustomAggregate="gdvPendenteAtendimento_CustomAggregate">


Any ideas?

Thanks in advance,
Will

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 May 2012, 04:37 AM
Hi Will,

Try setting the FooterAggregateFormatString as shown below.
aspx:
<telerik:GridBoundColumn FooterAggregateFormatString="{0:D}" Aggregate="Count" DataField="EmployeeID" HeaderText="EmployeeID" UniqueName="EmployeeID"></telerik:GridBoundColumn>

Thanks,
Shinu.
Tags
Grid
Asked by
Will
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or