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

<%@ 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 id="Head1" runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        html
        {
            overflow: auto;
        }
        html, body, form
        {
            margin: 0;
            height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadSplitter ID="rsMain" runat="server" Height="100%" Width="100%" Orientation="Horizontal">
        <telerik:RadPane ID="rpTop" runat="server" Height="110px" Locked="true">
            <div style="font: 16pt Tahoma">
                My Resizing Test Grid</div>
        </telerik:RadPane>
        <telerik:RadPane ID="rpBottom" runat="server" Height="100%" Scrolling="none">
            <telerik:RadGrid ID="rgTestGrid" runat="server" OnNeedDataSource="rgTestGrid_NeedDataSource"
                Width="100%" Height="100%">
                <ClientSettings EnableRowHoverStyle="true">
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                </ClientSettings>
                <MasterTableView AutoGenerateColumns="false" TableLayout="Fixed">
                    <Columns>
                        <telerik:GridBoundColumn DataField="name" HeaderText="Name">
                        </telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
        </telerik:RadPane>
    </telerik:RadSplitter>
    <telerik:RadAjaxManager ID="ramMain" runat="server" EnableAJAX="true">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rgTestGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgTestGrid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    </form>
</body>
</html>
