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

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
</head>
<body>
    <form id="mainForm" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="All" />
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowFilteringByColumn="True"
        AllowSorting="True" OnItemDataBound="RadGrid1_ItemDataBound" AutoGenerateColumns="False"
        DataSourceID="SqlDataSource1" GridLines="None" EnableHeaderContextMenu="True"
        EnableHeaderContextFilterMenu="True" ClientSettings-Resizing-AllowColumnResize="true"
        OnItemCreated="RadGrid1_ItemCreated" ShowStatusBar="True" ShowGroupPanel="True">
        <MasterTableView DataKeyNames="ProductID" DataSourceID="SqlDataSource1" RetrieveDataTypeFromFirstItem="true"
            IsFilterItemExpanded="false">
            <Columns>
                <telerik:GridBoundColumn HeaderStyle-Width="75px" AllowSorting="true" DataField="ProductName"
                    HeaderText="ProductName" UniqueName="ProductName" SortExpression="ProductName">
                </telerik:GridBoundColumn>
                <telerik:GridCheckBoxColumn DataField="Discontinued" HeaderText="Discontinued" SortExpression="Discontinued"
                    AllowSorting="true" UniqueName="Discontinued">
                    <HeaderStyle Width="45px" />
                    <ItemStyle Width="45px" />
                </telerik:GridCheckBoxColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
    <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="SELECT [ProductID], [ProductName], [SupplierID], [CategoryID], [QuantityPerUnit], [UnitPrice], [UnitsInStock], [UnitsOnOrder], [ReorderLevel], [Discontinued] FROM [Products]">
    </asp:SqlDataSource>
    </form>
</body>
</html>
