<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!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>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <div>
        <table width="100%" style="border-width: 1px; border-bottom-width: 1px; border-bottom-width: 1px"
            class="STArea" cellspacing="0" cellpadding="0" border="1">
            <tr class="SSDetails">
                <td style="height: 100%" align="center">
                    <div id="divMFile" runat="server" visible="true" style="overflow: auto; height: 280px;
                        width: 100%;">
                        <telerik:RadGrid ID="rgridMFile" runat="server" BorderStyle="Solid" DataSourceID="SqlDataSource1"
                            BorderWidth="0px" AutoGenerateColumns="False" GridLines="None" Width="100%" Height="95%"
                             ShowFooter="false" AllowPaging="true" PagerStyle-Mode="NextPrevAndNumeric"
                            AllowSorting="true">
                            <HeaderStyle Height="20px" />
                            <ClientSettings>
                                <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                <Selecting AllowRowSelect="true" />
                            </ClientSettings>
                            <MasterTableView>
                                <Columns>
                                    <telerik:GridBoundColumn UniqueName="CustomerID" DataField="CustomerID" SortExpression="CustomerID"
                                        HeaderText="CustomerID">
                                        <HeaderStyle HorizontalAlign="Left" Width="10%" Wrap="False" />
                                        <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="CompanyName" DataField="CompanyName" SortExpression="CompanyName"
                                        HeaderText="CompanyName">
                                        <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                        <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="ContactName" DataField="ContactName" SortExpression="ContactName"
                                        HeaderText="ContactName">
                                        <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                        <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="ContactTitle" DataField="ContactTitle" SortExpression="ContactTitle"
                                        HeaderText="ContactTitle">
                                        <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                        <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="Address" DataField="Address" SortExpression="Address"
                                        HeaderText="Address">
                                        <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                        <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="City" DataField="City" SortExpression="City"
                                        HeaderText="City">
                                        <HeaderStyle HorizontalAlign="Left" Width="10%" Wrap="False" />
                                        <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                    </telerik:GridBoundColumn>
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>
                    </div>
                </td>
            </tr>
        </table>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
            SelectCommand="SELECT * FROM [Customers]"></asp:SqlDataSource>
    </div>
    </form>
</body>
</html>
