<%@ 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" ID="RadGrid1" AllowPaging="True" AutoGenerateColumns="false"  OnItemCommand="RadGrid1_ItemCommand">
        <MasterTableView CommandItemDisplay="Top">
            <Columns>
                <telerik:GridBoundColumn DataField="ID" HeaderText="ID"></telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Item" HeaderText="Item"></telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Date" HeaderText="Date"></telerik:GridBoundColumn>
            </Columns>
            <CommandItemSettings ShowExportToPdfButton="true" />
        </MasterTableView>
        <ExportSettings>
            <Pdf BorderType="AllBorders"></Pdf>
        </ExportSettings>
    </telerik:RadGrid>

</asp:Content>
