<%@ Page Title="" Language="C#" AutoEventWireup="false" Theme="Main_Theme" MasterPageFile="~/SiteMaster.Master" CodeBehind="ChartsReportPage.aspx.cs" Inherits="MKInsight.Online.RRAM2.Reports.Charts.ChartsReportPage" %>

<%@ Register Src="../../UIControls/Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="../../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc2" %>
<%@ Register Assembly="UIWebControls" Namespace="UIWebControls" TagPrefix="cc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc1:Header ID="usc_Header" runat="server" />

    <uc2:MessageBox ID="usc_M" runat="server" />

    <table id="tb_RiskUniverse" runat="server" style="width: 100%">
        <tr>
            <td class="left" style="vertical-align: top;">

                <cc4:MKGridView ID="dg_CS" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
                    BorderStyle="None" CellPadding="3" DataKeyNames="ID"
                    OnRowDataBound="OnRowDataBound" Width="95%">
                    <AlternatingRowStyle CssClass="alternatingrowstyle" />
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle CssClass="headerstyle" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                    <PagerStyle HorizontalAlign="Left" />
                    <Columns>
                        <asp:CommandField HeaderText="Select" ShowSelectButton="True" />
                        <asp:BoundField DataField="ID" HeaderText="ID" />
                        <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                        <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
                    </Columns>
                    <PagerTemplate>
                        <asp:Label ID="lbl_ShowRows" runat="server" Text="Show rows:" /><asp:DropDownList
                            ID="ddlPageSize" runat="server" AutoPostBack="true" OnSelectedIndexChanged="OnSelectedIndexChanged">
                            <asp:ListItem Value="5" />
                            <asp:ListItem Value="10" />
                            <asp:ListItem Value="15" />
                            <asp:ListItem Value="20" />
                        </asp:DropDownList>
                        &#160;&#160;<asp:Label ID="lbl_page" runat="server" Text="Page" />
                        <asp:TextBox ID="txtGoToPage" runat="server" AutoPostBack="true" CssClass="gotopage"
                            OnTextChanged="GoToPageOnTextChanged" />
                        <asp:Label ID="lbl_Of" runat="server" Text="of" />
                        <asp:Label ID="lblTotalNumberOfPages" runat="server" />
                        &nbsp;&nbsp;<asp:Button ID="btn_p" runat="server" CommandArgument="Prev" CommandName="Page"
                            CssClass="previous" SkinID="_" ToolTip="Previous Page" /><asp:Button ID="btn_n" runat="server"
                                CommandArgument="Next" CommandName="Page" CssClass="next" SkinID="_" ToolTip="Next Page" />
                    </PagerTemplate>
                    <SelectedRowStyle BackColor="#D6E8FF" />
                </cc4:MKGridView>

            </td>
        </tr>
    </table>
</asp:Content>
