<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
    Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>

<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ 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>Untitled Page</title>
    <style type="text/css">



</style>
</head>
<body>
    <form id="form1" runat="server">

        <script type="text/javascript">
    
        function filterMenuShowing(sender, eventArgs)
        {
              
        }
    
        </script>

        <asp:ScriptManager runat="server" ID="ScriptManager1">
        </asp:ScriptManager>   
     
        <telerik:RadGrid 
         ID="RadGrid1" runat="server" DataSourceID="AccessDataSource1" GridLines="None"
         AllowMultiRowSelection="True" AllowFilteringByColumn="True" OnInit="RadGrid1_Init1" OnPreRender="RadGrid1_PreRender" meta:resourcekey="RadGrid1Resource1" AllowPaging="True">
            <ExportSettings>
                <Pdf FontType="Subset" PaperSize="Letter" />
                <Excel Format="Html" />
                <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" />
            </ExportSettings>
            <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top"
             CurrentResetPageIndexAction="SetPageIndexToFirst"             
                DataKeyNames="CustomerID" DataSourceID="AccessDataSource1" Dir="LTR" Frame="Border"
                TableLayout="Auto">
                
             
                
                <RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                    Visible="False">
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
                <ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                    Resizable="False" Visible="False">
                    <HeaderStyle Width="20px" />
                </ExpandCollapseColumn>
                <Columns>
                
                    <telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="CustomerID"
                        FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="CustomerID"
                        ReadOnly="True" SortExpression="CustomerID" UniqueName="CustomerID" meta:resourcekey="GridBoundColumnResource1">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="CompanyName"
                        FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="CompanyName"
                        SortExpression="CompanyName" UniqueName="CompanyName" meta:resourcekey="GridBoundColumnResource2">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="ContactName"
                        FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="ContactName"
                        SortExpression="ContactName" UniqueName="ContactName" meta:resourcekey="GridBoundColumnResource3">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="ContactTitle"
                        FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="ContactTitle"
                        SortExpression="ContactTitle" UniqueName="ContactTitle" meta:resourcekey="GridBoundColumnResource4">
                    </telerik:GridBoundColumn>
                </Columns>
                <EditFormSettings>
                    <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
                    </EditColumn>
                </EditFormSettings>
              
            </MasterTableView>
            
            <ClientSettings>
            <ClientEvents OnFilterMenuShowing="filterMenuShowing" />
            </ClientSettings>
            
        </telerik:RadGrid>
        
        
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
            SelectCommand="SELECT [CustomerID], [CompanyName], [ContactName], [ContactTitle] FROM [Customers]">
        </asp:AccessDataSource>
       
    </form>
</body>
</html>
