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

<%@ 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 id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RSM1">
    </telerik:RadScriptManager>
    <telerik:RadSplitter runat="server" ID="RS1" Width="820px">
        <telerik:RadPane ID="gridPane" runat="server" Height="810px" Scrolling="None">
            <telerik:RadSlidingZone ID="SlidingZone1" runat="server" Width="22px">
                <telerik:RadSlidingPane ID="RadSlidingPane1" Title="Pane1" runat="server" Width="800px"
                    MinWidth="100">
                    <telerik:RadGrid runat="server" ID="RADGRID1" DataSourceID="SqlDataSource1" AllowPaging="true" PageSize="5">
                      <PagerStyle Mode="NumericPages" Position="Top"/>
                        <MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
                            <PagerTemplate>
                               <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Page" CausesValidation="false"
                            CommandArgument="Prev">Prev</asp:LinkButton>
                           <asp:LinkButton ID="LinkButton4" runat="server" CommandName="Page" CausesValidation="false"
                            CommandArgument="Next">Next</asp:LinkButton>
                            </PagerTemplate>
                            <Columns>
                                <telerik:GridBoundColumn DataField="ProductID" HeaderText="ProductID" SortExpression="ProductID"
                                    UniqueName="ProductID">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="UnitPrice" HeaderText="UnitPrice" SortExpression="UnitPrice"
                                    UniqueName="UnitPrice">
                                </telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
                        SelectCommand="SELECT Top 50 [UnitPrice], [ProductID] FROM [Order Details]">
                    </asp:SqlDataSource>
                </telerik:RadSlidingPane>
            </telerik:RadSlidingZone>
        </telerik:RadPane>
    </telerik:RadSplitter>
    </form>
</body>
</html>
