<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ContentPage.aspx.cs" Inherits="ContentPage" MasterPageFile="~/MasterPage.master" %>

<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1">

    <telerik:RadPersistenceManagerProxy ID="RadPersistenceManagerProxy1" runat="server">
        <PersistenceSettings>
            <telerik:PersistenceSetting ControlID="RadGrid1" />
        </PersistenceSettings>
    </telerik:RadPersistenceManagerProxy>


    <telerik:RadButton runat="server" ID="RadButton1" Text="Postback" AutoPostBack="true" />


    <telerik:RadButton ID="btnReloadPage" runat="server" Text="Reload the Page" OnClick="btnReloadPage_Click"></telerik:RadButton>
    <br />
    <br />
    <telerik:RadButton ID="btnSaveState" runat="server" Text="Save State" OnClick="btnSaveState_Click" AutoPostBack="true"></telerik:RadButton>
    <telerik:RadButton ID="btnLoadState" runat="server" Text="Load State" OnClick="btnLoadState_Click" AutoPostBack="true"></telerik:RadButton>
    <telerik:RadButton ID="btnClearState" runat="server" Text="Clear Stored State" OnClick="btnClearState_Click" AutoPostBack="true"></telerik:RadButton>
    <br />
    <br />
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
    <br />
    <br />
    <div>

        <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="800px" Skin="Bootstrap" OnNeedDataSource="RadGrid1_NeedDataSource">
            <ClientSettings >
                <Resizing AllowColumnResize="true"  />
            </ClientSettings>
            <%--<MasterTableView AutoGenerateColumns="False" DataKeyNames="OrderID">
                <Columns>
                    <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32"
                        FilterControlAltText="Filter OrderID column" HeaderText="OrderID"
                        ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID">
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn DataField="OrderDate" DataType="System.DateTime"
                        FilterControlAltText="Filter OrderDate column" HeaderText="OrderDate"
                        SortExpression="OrderDate" UniqueName="OrderDate">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridNumericColumn DataField="Freight" DataType="System.Decimal"
                        FilterControlAltText="Filter Freight column" HeaderText="Freight"
                        SortExpression="Freight" UniqueName="Freight">
                    </telerik:GridNumericColumn>
                    <telerik:GridBoundColumn DataField="ShipName"
                        FilterControlAltText="Filter ShipName column" HeaderText="ShipName"
                        SortExpression="ShipName" UniqueName="ShipName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ShipCountry"
                        FilterControlAltText="Filter ShipCountry column" HeaderText="ShipCountry"
                        SortExpression="ShipCountry" UniqueName="ShipCountry">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>--%>
        </telerik:RadGrid>


    </div>
</asp:Content>

