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

<%@ 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>GridTest</title>
    <link href="Styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableScriptLocalization="True">
    </telerik:RadScriptManager>
    <telerik:RadAjaxPanel ID="callogRadPnl" runat="server">
        <telerik:RadGrid ID="callogGrd" Style="border: 0; margin-top: -20px;" runat="server"
            AllowSorting="true" PageSize="5" AllowPaging="true" Width="99%" CssClass="gridView1"
            AutoGenerateColumns="false" AllowFilteringByColumn="true" OnNeedDataSource="callogGrd_NeedDataSource">
            <MasterTableView TableLayout="Fixed">
                <HeaderStyle HorizontalAlign="Left" Wrap="false" />
                <ItemStyle Font-Names="Arial" Font-Size="12px" Wrap="false" ForeColor="#000000" />
                <AlternatingItemStyle Font-Names="Arial" Font-Size="12px" Wrap="false" ForeColor="#000000" />
                <PagerStyle Mode="NumericPages" />
                <Columns>
                    <telerik:GridBoundColumn DataField="CustomerID" HeaderText="Begin"
                        SortExpression="CustomerID" HeaderStyle-Width="150px" FilterControlWidth="55px" />
                    <telerik:GridBoundColumn DataField="ContactName" HeaderText="EndTime" SortExpression="ContactName"
                        HeaderStyle-Width="180px" AllowFiltering="false" />
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="Dispatcher" SortExpression="CompanyName"
                        FilterControlWidth="55px" />
                    <telerik:GridBoundColumn DataField="Address" HeaderText="Console" SortExpression="Address"
                        FilterControlWidth="55px" AllowFiltering="true" />
                    <telerik:GridBoundColumn DataField="Country" HeaderText="Endpoint" SortExpression="Country"
                        FilterControlWidth="55px" />
                    <telerik:GridBoundColumn DataField="City" HeaderText="CallType" SortExpression="City"
                        FilterControlWidth="55px" HeaderStyle-Width="130px" />
                    <telerik:GridBoundColumn DataField="Phone" HeaderText="CallData" SortExpression="Phone"
                        AllowFiltering="false" />
                    <telerik:GridBoundColumn DataField="Fax" HeaderText="AnswerTime" SortExpression="Fax"
                        AllowFiltering="false" />
                    <telerik:GridBoundColumn DataField="PostalCode" HeaderText="Duration" SortExpression="PostalCode"
                        UniqueName="calDuration" AllowFiltering="false" />
                </Columns>
            </MasterTableView>
            <ExportSettings Csv-FileExtension="Csv" Csv-RowDelimiter="NewLine">
            </ExportSettings>
        </telerik:RadGrid>
    </telerik:RadAjaxPanel>
    <br />
    </form>
</body>
</html>
