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

<%@ 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></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager" runat="server" />
        <telerik:RadGrid ID="gridMissingProductData" DataSourceID="SqlDataSource1" runat="server"
            AutoGenerateColumns="false" PageSize="20" PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NextPrevNumericAndAdvanced"
            AllowPaging="true" AllowMultiRowSelection="true" AllowSorting="true" ShowGroupPanel="true"
            ShowFooter="true">
            <ExportSettings>
            </ExportSettings>
            <MasterTableView DataKeyNames="ProductID" GroupLoadMode="Client" TableLayout="Fixed"
                CommandItemDisplay="top">
                <CommandItemSettings ShowExportToCsvButton="true" ShowExportToExcelButton="true"
                    ShowExportToWordButton="true" />
                <Columns>
                    <telerik:GridBoundColumn HeaderText="ProductID" DataField="ProductID" Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn HeaderText="ProductName" GroupByExpression="ProductName Name Group By ProductName">
                        <ItemTemplate>
                            <%# Eval("ProductName")%>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn HeaderText="UnitPrice" DataField="UnitPrice">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="UnitsInStock" DataField="UnitsInStock">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings AllowGroupExpandCollapse="True" ReorderColumnsOnClient="True" AllowDragToGroup="True"
                AllowColumnsReorder="True">
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
            <GroupingSettings ShowUnGroupButton="true" />
        </telerik:RadGrid>
        <asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
            SelectCommand="SELECT * FROM Products" runat="server"></asp:SqlDataSource>
    </div>
    </form>
</body>
</html>
