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

RadGrid custom aggregate footer column stops grid binding

1 Answer 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 12 Oct 2011, 03:32 PM
Hi:
I have RadGrid with a calculated column with custom aggregate footer.
<telerik:GridCalculatedColumn HeaderText="Total" UniqueName="PriceExtendedColumn"
    HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
    DataFields="Quantity, Price"
    DataType="System.Decimal" Aggregate="Custom" FooterText=" ">
</telerik:GridCalculatedColumn>
I am getting a blank screen.

Phil

1 Answer, 1 is accepted

Sort by
0
Phil
Top achievements
Rank 2
answered on 12 Oct 2011, 03:58 PM
Hi
Got it.
<telerik:GridCalculatedColumn HeaderText="Total" UniqueName="PriceExtendedColumn"
    HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right"
    FooterStyle-HorizontalAlign="Right"
    DataFields="Quantity, Price" Expression="{0}*{1}" DataFormatString="{0:N2}"
    DataType="System.Decimal" Aggregate="Custom" FooterText=" " />
It was going to Page_Error.
Phil
Note: the FooterText is the html whitespace & nbsp ;
Tags
Grid
Asked by
Phil
Top achievements
Rank 2
Answers by
Phil
Top achievements
Rank 2
Share this question
or