<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

<!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>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <script type="text/javascript">
            //Put your JavaScript code here.
        </script>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
        <telerik:RadGrid ID="rgPayments" runat="server" AllowSorting="True" AllowAutomaticDeletes="true"
            OnNeedDataSource="rgPayments_NeedDataSource" ShowFooter="true"
            AutoGenerateColumns="False" CellSpacing="0" Width="100%"
            GridLines="None" EnableLinqExpressions="true">
            <GroupingSettings CaseSensitive="false" />
            <MasterTableView AllowMultiColumnSorting="true" EditMode="EditForms" TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" HeaderStyle-Width="500px" />
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" HeaderStyle-Width="300px" />
                    <telerik:GridBoundColumn DataField="ContactName" HeaderText="ContactName" HeaderStyle-Width="300px" />
                    <telerik:GridBoundColumn DataField="ContactTitle" HeaderText="ContactTitle" HeaderStyle-Width="300px" />
                    <telerik:GridBoundColumn DataField="Address" HeaderText="Address" HeaderStyle-Width ="300px" />
                    <telerik:GridBoundColumn DataField="PostalCode" HeaderText="PostalCode" HeaderStyle-Width ="300px" />
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <Scrolling AllowScroll="true" />
            </ClientSettings>
        </telerik:RadGrid>
    </form>
</body>
</html>
