footer text doesnt show

4 posts, 1 answers
  1. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 03 Mar 2010 Link to this post

    hi

    my footer text doesnt show on my aggregate column

    here is the code:
                        <telerik:RadGrid ID="grdOrdini" DataSourceID="objDSOrd" runat="server" Width="99.7%" 
                            AutoGenerateColumns="False" PageSize="15" AllowSorting="True" AllowPaging="True" ShowHeader="true" 
                            GridLines="None" ShowStatusBar="true" AllowAutomaticUpdates="true" ShowFooter="True" > 
                            <PagerStyle Mode="NumericPages" AlwaysVisible="true"></PagerStyle> 
                            <FooterStyle Font-Bold="true" /> 
                            <MasterTableView DataSourceID="objDSOrd" DataKeyNames="CODICE" AllowMultiColumnSorting="True" 
                                Width="100%" EditMode="InPlace"
                                <Columns> 
                                    <telerik:GridButtonColumn ConfirmText="Rimouvere dal Elenco degli ordini?" ButtonType="ImageButton" ImageUrl="~/img/DelCart.png" CommandName="Delete" Text="Rimouvi dal elenco" UniqueName="colDelete"
                                        <HeaderStyle Width="35px" /> 
                                    </telerik:GridButtonColumn>                                
                                    <telerik:GridEditCommandColumn EditImageUrl="~/img/Edit.gif" UniqueName="btnEdit" CancelText="Cancel" UpdateText="Save" EditText="Modifica"></telerik:GridEditCommandColumn>                           
                                    <telerik:GridBoundColumn SortExpression="LISTINO" HeaderText="Listino" DataField="LISTINO" UniqueName="colLISTINO1" ReadOnly="true"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="LISTINO" HeaderText="Listino" DataField="LISTINO" UniqueName="colLISTINO" Visible="false"
                                    </telerik:GridBoundColumn>                                                 
                                    <telerik:GridBoundColumn SortExpression="DTORDINE" HeaderText="Data Ordine" DataField="DTORDINE" UniqueName="colDTORDINE" DataType="System.DateTime" DataFormatString="{0: dd/MM/yyyy}" ReadOnly="true"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="DTSCADENZA" HeaderText="Data Scadenza" DataField="DTSCADENZA" UniqueName="colDTSCADENZA" DataType="System.DateTime" DataFormatString="{0: dd/MM/yyyy}" ReadOnly="true"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridNumericColumn SortExpression="QUANTITA" HeaderText="Q.tà" DataField="QUANTITA" UniqueName="colQUANTITA"
                                    </telerik:GridNumericColumn> 
                                    <telerik:GridNumericColumn SortExpression="COSTOUNITARIO" HeaderText="Costo Unitario" DataField="COSTOUNITARIO" UniqueName="colCOSTOUNITARIO" DataType="System.Double" DataFormatString="{0:€ # ###.##}" ReadOnly="true"
                                    </telerik:GridNumericColumn> 
                                    <telerik:GridNumericColumn SortExpression="COSTOUNITARIO" HeaderText="Costo Unitario" DataField="COSTOUNITARIO" UniqueName="colCOSTOUNITARIO2" DataType="System.Double" Visible="false"
                                    </telerik:GridNumericColumn>                                 
                                    <telerik:GridNumericColumn SortExpression="SCONTO" HeaderText="Sconto %" DataField="SCONTO" UniqueName="colSCONTO" ReadOnly="true" DataType="System.Double" NumericType="Percent"
                                    </telerik:GridNumericColumn> 
                                    <telerik:GridBoundColumn  SortExpression="COSTONETTO" HeaderText="Costo Netto" DataField="COSTONETTO" UniqueName="colCOSTONETTO" DataType="System.Double" DataFormatString="{0:€ # ###.##}" ReadOnly="true" Aggregate="Sum" FooterText="Totale Netto: "
                                    </telerik:GridBoundColumn >                                         
                                </Columns> 
                            </MasterTableView> 
                        </telerik:RadGrid> 

  2. Daniel
    Admin
    Daniel avatar
    4946 posts

    Posted 03 Mar 2010 Link to this post

    Hello Webster,

    Your code is working properly on my end. Please download the attached project and let me know whether it exhibits the same problem.

    Regards,
    Daniel
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 04 Mar 2010 Link to this post

    my problem is that the word "Totale Neto: " doesnt show
  5. Answer
    Daniel
    Admin
    Daniel avatar
    4946 posts

    Posted 04 Mar 2010 Link to this post

    Hello Webster,

    Thank you for the clarification.

    You should use FooterAggregateFormatString instead of FooterText. Please modify the last column as shown below:
    <telerik:GridBoundColumn SortExpression="COSTONETTO" HeaderText="Costo Netto" DataField="Col"
        UniqueName="colCOSTONETTO" DataType="System.Double" DataFormatString="{0:€ # ###.##}"
        ReadOnly="true" Aggregate="Sum" FooterAggregateFormatString="Totale Netto: {0:€ # ###.##}">
    </telerik:GridBoundColumn>

    Best regards,
    Daniel
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top