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

<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ 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>Untitled Page</title>
    <style type="text/css">
    
  
.class1
{
    display:none !important;
}

.class2
{
    display:block !important;
}

    </style>
</head>
<body>
    <form id="form1" runat="server">

       

        <asp:ScriptManager runat="server" ID="ScriptManager1">
        </asp:ScriptManager>
       
    
      <div id="firstarea" runat="server"> 
          <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="AccessDataSource1" GridLines="Both"
              Skin="Vista">
              <MasterTableView AutoGenerateColumns="False" DataKeyNames="CategoryID" DataSourceID="AccessDataSource1">
                  <RowIndicatorColumn Visible="False">
                      <HeaderStyle Width="20px" />
                  </RowIndicatorColumn>
                  <ExpandCollapseColumn Resizable="False" Visible="False">
                      <HeaderStyle Width="20px" />
                  </ExpandCollapseColumn>
                  <Columns>
                      <telerik:GridBoundColumn DataField="CategoryID" DataType="System.Int32" HeaderText="CategoryID"
                          ReadOnly="True" SortExpression="CategoryID" UniqueName="CategoryID">
                      </telerik:GridBoundColumn>
                      <telerik:GridBoundColumn DataField="CategoryName" HeaderText="CategoryName" SortExpression="CategoryName"
                          UniqueName="CategoryName">
                      </telerik:GridBoundColumn>                  
                        
                            <telerik:GridTemplateColumn UniqueName="Template1" >
                            <ItemTemplate>
                            <asp:Label runat="server" ID="Label1" Text="ItemTemplate">
                            </asp:Label>
                            </ItemTemplate>
                            </telerik:GridTemplateColumn>
                        
                  </Columns>
                  <EditFormSettings>
                      <PopUpSettings ScrollBars="None" />
                  </EditFormSettings>
              </MasterTableView>
              
              <ClientSettings EnableRowHoverStyle="true">              
              </ClientSettings>
              
          </telerik:RadGrid><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
              SelectCommand="SELECT [CategoryID], [CategoryName] FROM [Categories]">
          </asp:AccessDataSource>
          &nbsp;
            
        </div> 


    
    </form>

      
      
      
    
</body>
</html>
