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

<!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" style="height: 100%;">
<head runat="server">
    <title>Grid</title>
    <style type="text/css">
        #TicketsGrid
        {
            width: 99% !important;
        }
        #TicketsGrid_ctl00
        {
            width: 100% !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="scriptManager" runat="server">
    </telerik:RadScriptManager>
    <asp:Panel ID="TicketPanel" runat="server" CssClass="ShowQueryNTicketPanel">
        <telerik:RadGrid ID="TicketsGrid" runat="server" DataSourceID="SqlDataSource1" AllowPaging="True"
            PageSize="20" AllowFilteringByColumn="True" AllowSorting="True" ShowGroupPanel="True"
            EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" GridLines="None">
            <MasterTableView AllowFilteringByColumn="False" GroupLoadMode="Server" Height="99%"
                TableLayout="Auto">
            </MasterTableView>
            <SortingSettings EnableSkinSortStyles="false" />
            <ClientSettings AllowDragToGroup="True" AllowRowsDragDrop="True" EnableRowHoverStyle="True">
                <Selecting AllowRowSelect="True" />
                <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true">
                </Scrolling>
            </ClientSettings>
            <ActiveItemStyle BorderStyle="Solid" Font-Bold="True" />
            <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
            <GroupingSettings ShowUnGroupButton="true" />
            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <AlternatingItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
        </telerik:RadGrid>
        <telerik:RadContextMenu ID="cmTechFilter" runat="server" EnableRoundedCorners="true"
            EnableShadows="true" EnableViewState="true">
            <Items>
                <telerik:RadMenuItem Text="Show All Appts " Value="ShowAppts" />
                <telerik:RadMenuItem Text="BuStatus" Value="Bump" />
                <telerik:RadMenuItem Text="Zoom" Value="Zoom" />
            </Items>
        </telerik:RadContextMenu>
    </asp:Panel>
    <asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM Customers"
        runat="server"></asp:SqlDataSource>
    </form>
</body>
</html>
