<%@ Page Language="VB" AutoEventWireup="false" CodeFile="RadGridWithTotalVB.aspx.vb"
    Inherits="RadGridWithTotalVB" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource"
            AutoGenerateColumns="false" OnPreRender="RadGrid1_PreRender">
            <MasterTableView>
                <Columns>
                    <telerik:GridBoundColumn UniqueName="UnitPrice" DataField="UnitPrice">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="ProductPrice" DataField="ProductPrice">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="Total" DataField="Total">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
        <asp:TextBox ID="TextBoxUnitPrice" runat="server">
        </asp:TextBox>
        <asp:TextBox ID="TextBoxProductPrice" runat="server">
        </asp:TextBox>
        <asp:TextBox ID="TextBoxTotal" runat="server">
        </asp:TextBox>
        <asp:Button ID="ButtonCalculate" runat="server" Text="Calculate" OnClick="ButtonCalculate_Click" />
    </div>
    </form>
</body>
</html>
