I am using the following code but the aggregates do not show. I have looked at many examples and cannot discover what it the cause. Any help would be appreciated.
Alfred Goldberg
<telerik:RadGrid ID="grdSalesPersonDetail" runat="server" GridLines="None" AllowPaging="False" |
GroupingEnabled="true" AutoGenerateColumns="False" Skin="Office2007" ShowFooter="True" |
OnItemCommand="grdSalesPersonDetail_ItemCommand" OnItemDataBound="grdSalesPersonDetail_ItemDataBound" |
OnSelectedIndexChanged="grdSalesPersonDetail_SelectedIndexChanged" OnNeedDataSource="grdSalesPersonDetail_NeedDataSource"> |
<MasterTableView DataKeyNames="DLRSTAFF_ID" TableLayout="Fixed"> |
<Columns> |
<telerik:GridTemplateColumn DataField="DLRSTAFF_Name" HeaderText="Name"> |
<ItemTemplate> |
<asp:LinkButton ID="lnkDealNum" runat="server" CommandName="OpenSalesPerson" CommandArgument='<%# Eval("DLRSTAFF_Name") %>' |
Text='<%#Eval("DLRSTAFF_Name") %>' /> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridNumericColumn DataField="Sales_Gross" HeaderText="Sales Gross" DataType="System.Decimal" |
NumericType="Currency" SortExpression="Sales_Gross" UniqueName="Sales_Gross" |
Aggregate="Count" /> |
<telerik:GridNumericColumn DataField="Avg_Sales_Gross" HeaderText="Avg Sales Gross" NumericType="Currency" |
Aggregate="Count" DataType="System.Decimal" /> |
<telerik:GridNumericColumn DataField="FI_Gross" HeaderText="FI Gross" Aggregate="Count" NumericType="Currency" |
DataType="System.Decimal" /> |
<telerik:GridNumericColumn DataField="Avg_FI_Gross" HeaderText="Avg FI Gross" Aggregate="Count" NumericType="Currency" |
DataType="System.Decimal" /> |
<telerik:GridNumericColumn DataField="Total_Gross" HeaderText="Total Gross" Aggregate="Count" NumericType="Currency" |
DataType="System.Decimal" /> |
<telerik:GridNumericColumn DataField="Avg_Total_Gross" HeaderText="Avg Total Gross" NumericType="Currency" |
Aggregate="Count" DataType="System.Decimal" /> |
</Columns> |
<HeaderStyle HorizontalAlign="Center" /> |
</MasterTableView> |
</telerik:RadGrid> |
Alfred Goldberg