How to Changes Telerik Grid Running Total Footer Template

2 posts, 0 answers
  1. Jaya
    Jaya avatar
    81 posts
    Member since:
    Mar 2011

    Posted 17 Apr 2015 Link to this post

    Hi

     This is My code . Here when i enter the Total textbox i need show the footer template for running Total how will do this client side this any one guide me.

     <telerik:RadGrid ID="Grd1" runat="server" AutoGenerateColumns="false" ShowFooter="true">
                <MasterTableView DataKeyNames="EmpId">
                    <Columns>
                        <telerik:GridBoundColumn DataField="EmpName" HeaderText="EmpName" UniqueName="EmpName"></telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Amount" UniqueName="Amount">
                            <ItemTemplate>
                                <asp:TextBox ID="TXTTOTAL" runat="server" Text='<%# Eval("Empamt") %>'></asp:TextBox>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>

  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 22 Apr 2015 Link to this post

    Hello Jaya,

    Generally, RadGrid provides Aggregates to display the Total values:
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/grouping/group-footers/defaultcs.aspx

    But I guess you will need an instant updating approach, similar to this scenario:
    http://www.telerik.com/help/aspnet-ajax/grid-totals-with-numerictextbox.html

    I am also sending a sample RadGrid web site sample to demonstrate a basic implementation of findElement and findControl methods which you can use to create a solution on client-side.


    Hope this helps.

    Regards,
    Eyup
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top