Using the following template column code I can define an aggregate for the column, but nothing is displayed. Does the declarative aggregate work now for a GridTemplateColumn, and if so, what can I do to display the result?
<telerik:GridTemplateColumn UniqueName="IsInvitationAccepted"
DataField="IsInvitationAccepted"
HeaderText="Confirmed?"
HeaderTooltip="Has this speaker confirmed their acceptance?"
HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
FooterStyle-HorizontalAlign="Center"
Aggregate="Sum" FooterAggregateFormatString="Confirmed: {0:F0}"
>
<ItemTemplate>
<asp:Label ID="LabelInvitationAccepted" runat="server"
Text='<%# Convert.ToInt32(Eval("IsInvitationAccepted"))==1?"Yes":"No" %>' />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="IsInvitationAccepted"
DataField="IsInvitationAccepted"
HeaderText="Confirmed?"
HeaderTooltip="Has this speaker confirmed their acceptance?"
HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
FooterStyle-HorizontalAlign="Center"
Aggregate="Sum" FooterAggregateFormatString="Confirmed: {0:F0}"
>
<ItemTemplate>
<asp:Label ID="LabelInvitationAccepted" runat="server"
Text='<%# Convert.ToInt32(Eval("IsInvitationAccepted"))==1?"Yes":"No" %>' />
</ItemTemplate>
</telerik:GridTemplateColumn>