<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <telerik:RadGrid runat="server" ShowFooter="true" ID="RadGrid1" AutoGenerateColumns="false">
        <MasterTableView>
            <Columns>
                <telerik:GridBoundColumn Aggregate="Sum" DataField="oneAmt" HeaderText="oneAmt">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="twoAmt" Aggregate="Sum" HeaderText="twoAmt">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="threeAmt" Aggregate="Sum" HeaderText="threeAmt">
                </telerik:GridBoundColumn>
                <telerik:GridCalculatedColumn DataFields="oneAmt,twoAmt,threeAmt" Expression="{0}-{1}-{2}"
                    UniqueName="netAmt" AllowFiltering="False" AllowSorting="False" DataFormatString="{0:c}"
                    Groupable="False" HeaderText="Net Amount" Reorderable="False" ShowSortIcon="False"
                    Aggregate="Sum" DataType="System.Decimal" FooterAggregateFormatString="{0:c}">
                    <FooterStyle HorizontalAlign="Right" />
                    <HeaderStyle HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:GridCalculatedColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
</asp:Content>
