<%@ Page Language="VB" AutoEventWireup="false" Inherits="DefaultVB"
    CodeFile="FrozenColumns.aspx.vb" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!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 runat="server">
</head>
<body class="BODY">
    <form runat="server" id="mainForm" method="post">
        <!-- content start -->
        <div>
            <asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>
            <Telerik:RadGrid ID="RadGrid1" Width="100%" DataSourceID="AccessDataSource1" 
                GridLines="None" AllowSorting="True" AllowPaging="True"
                runat="server" Skin="Telerik">
                <MasterTableView HeaderStyle-Width="250px" Height="100%">
                    <Columns>

                     <telerik:GridTemplateColumn HeaderText="UnitPrice" SortExpression="UnitPrice" UniqueName="TemplateColumn"
                        EditFormColumnIndex="1" Display="false">
                        <ItemTemplate>
                            <asp:Label runat="server" ID="lblUnitPrice" Text="text"></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                        <asp:DropDownList ID="DropDown1" runat="server">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Text="Item1" Value="Item1">
                            </asp:ListItem>
                            <asp:ListItem Text="Item2" Value="Item2">
                            </asp:ListItem>
                        </asp:DropDownList>
                            
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="DropDown1"
                            ErrorMessage="Required" runat="server">
                        </asp:RequiredFieldValidator>
                                 
                        </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
                
                <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                    <Selecting AllowRowSelect="true"/>
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="1" />
                </ClientSettings>
            </Telerik:RadGrid>
        </div>
        <asp:AccessDataSource ID="AccessDataSource1" DataFile="~/App_Data/Nwind.mdb"
            SelectCommand="SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, City, PostalCode, Country, Phone FROM Customers" runat="server"></asp:AccessDataSource>
        <!-- content end -->
    </form>
</body>
</html>
