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

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!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">
        <div>
            <asp:ScriptManager runat="server" ID="ScriptManager1">
            </asp:ScriptManager>

            <script type="text/javascript">
            
         
        

          
            </script>
            
           <telerik:RadAjaxManager runat="server" ID="Manager1">
               <AjaxSettings>
                   <telerik:AjaxSetting AjaxControlID="RadGri1">
                       <UpdatedControls>
                           <telerik:AjaxUpdatedControl ControlID="RadGri1" />
                       </UpdatedControls>
                   </telerik:AjaxSetting>
               </AjaxSettings>
           </telerik:RadAjaxManager>

            Enter Order ID here in the range 10248 - 11077:
            <asp:TextBox runat="server" ID="TextBox1">
            </asp:TextBox>
            <asp:Button runat="server" ID="Button1" Text="Locate OrderID" OnClick="Button1_Click1" />
            

            <telerik:RadGrid
             runat="server" ID="RadGri1" PageSize="10"
              GridLines="None" AutoGenerateColumns="False"
                DataSourceID="AccessDataSource1" OnPreRender="RadGri1_PreRender" AllowSorting="True"
                meta:resourcekey="RadGri1Resource1" AllowPaging="True">
                <HeaderContextMenu>
                    <CollapseAnimation Duration="200" Type="OutQuint" />
                </HeaderContextMenu>
                <MasterTableView TableLayout="Fixed"
                 DataKeyNames="OrderID" DataSourceID="AccessDataSource1">
                 
                    <Columns>
                        
                        <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32" HeaderText="OrderID"
                            ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID" meta:resourcekey="GridBoundColumnResource2">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" SortExpression="CustomerID"
                            UniqueName="CustomerID" meta:resourcekey="GridBoundColumnResource3">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Freight" DataType="System.Decimal" HeaderText="Freight"
                            SortExpression="Freight" UniqueName="Freight" meta:resourcekey="GridBoundColumnResource4">
                        </telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings AllowColumnsReorder="True">
                <Resizing AllowColumnResize="True" />
                </ClientSettings>
                <FilterMenu>
                    <CollapseAnimation Duration="200" Type="OutQuint" />
                </FilterMenu>
            </telerik:RadGrid><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
                SelectCommand="SELECT [OrderID], [CustomerID], [Freight] FROM [Orders]"></asp:AccessDataSource>
            <br />
        </div>
    </form>
</body>
</html>
