<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
  Inherits="MyWebApp._Default" %>

<%@ Register Assembly="Telerik.OpenAccess, Version=2009.1.605.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342"
  Namespace="Telerik.OpenAccess" 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>
      <telerik:OpenAccessDataSource ID="OpenAccessDataSource1" 
        runat="server" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True" 
        ObjectContextProvider="MyWebApp.NorthwindProvider, MyWebApp" 
        TypeName="Model.Category" Where="">
      </telerik:OpenAccessDataSource>
      <asp:DropDownList ID="ddlCategory" runat="server" 
        AutoPostBack="True" Height="46px" 
        onselectedindexchanged="ddlCategory_SelectedIndexChanged" 
        Width="281px">
      </asp:DropDownList>
    </div>
    
    <asp:GridView ID="gvProducts" runat="server" 
      Width="485px">
    </asp:GridView>
    
  </form>
</body>
</html>
