<%@ page language="C#" autoeventwireup="true" inherits="Pages_Hrm_Appraisal_Default, App_Web_p2jl1bxk" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ Register Src="~/UserControls/MessageBox/MessageBoxControl.ascx" TagName="MessageControl" TagPrefix="uc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
    <title></title>
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
    <link href='<%# ResolveUrl("~/App_Themes/BlackTheme/bootstrap/css/bootstrap.min.css")%>' rel="Stylesheet" type="text/css" />
    <link href="~/App_Themes/BlackTheme/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="~/App_Themes/BlackTheme/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
    <link href="~/App_Themes/BlackTheme/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="~/App_Themes/BlackTheme/dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
    <link href='<%# ResolveUrl("~/App_Themes/Default/uploadify.css")%>' rel="Stylesheet" type="text/css" />
    <link rel="shortcut icon" href="../../../ContentTemplates/Brand/favicon.png" type="image/x-icon" />
</head>
<script type="text/javascript">
    function PrintPanel() {
        var panel = document.getElementById("<%=DivPanel.ClientID %>");
        var printWindow = window.open('', '', 'height=900,width=800');
        printWindow.document.write('<html><head><title> </title>');
        printWindow.document.write('</head><body >');
        printWindow.document.write(panel.innerHTML);
        printWindow.document.write('</body></html>');
        printWindow.document.close();
        setTimeout(function () { printWindow.print(); }, 500);
        return false;
    }

    function MyFunction() {
        alert('Hello From  Server ');

    }


    //function isAlphaNumeric(e) { // Alphanumeric only
    //    var k;
    //    document.all ? k = e.keycode : k = e.which;
    //    return ((k > 47 && k < 58) || (k > 64 && k < 91) || (k > 96 && k < 123) || (k > 31 && k < 42) || k == 0);
    //}

    function isAlphaNumeric(e) { // Alphanumeric only
        var k;
        document.all ? k = e.keycode : k = e.which;
        return (k != 47 && k != 92 && k != 58 && k != 42 && k != 63 && k != 34 && k != 60 && k != 62 && k != 124);
    }

</script>
<body>
    <form id="form1" runat="server">

        <asp:TextBox ID="TextBox1" runat="server" OnKeypress="javascript:return isAlphaNumeric(event,this.value);"></asp:TextBox>


        <div id="ctl00_CP_TabContainerIncome" class="ajax__myTab ajax__tab_container ajax__tab_default" style="width: 100%; visibility: visible;">
            <div id="ctl00_CP_TabContainerIncome_header" class="ajax__tab_header">
                <span id="TabPanel1_tab" class="ajax__tab_active">
                    <span class="ajax__tab_outer">
                        <span class="ajax__tab_inner">
                            <span class="ajax__tab_tab" id="spanTabPanel1">
                                <ul class="nav nav-tabs ajaxnavtabs">
                                    <li>
                                        <a style="padding: 10px 15px !important;">Single Entry
                                        </a>
                                    </li>
                                </ul>
                            </span>
                        </span>
                    </span>
                </span>
                <span id="TabPanel2_tab">
                    <span class="ajax__tab_outer">
                        <span class="ajax__tab_inner">
                            <span class="ajax__tab_tab" id="spanTabPanel2">
                                <ul class="nav nav-tabs ajaxnavtabs">
                                    <li>
                                        <a style="padding: 10px 15px !important;">Bulk Entry
                                        </a>
                                    </li>
                                </ul>
                            </span>
                        </span>
                    </span>

                </span>
            </div>
            <div id="ctl00_CP_TabContainerIncome_body" class="ajax__tab_body">
                <div id="divTabPanel1" class="ajax__tab_panel" style="visibility: visible;"></div>
                <div id="divTabPanel2" class="ajax__tab_panel" style="visibility: visible;"></div>
            </div>
        </div>


        <asp:Panel ID="pnlContents" runat="server">
            <div id="DivPanel" runat="server">
            </div>
        </asp:Panel>



        <asp:GridView ID="GridViewDetails" runat="server" CellPadding="4"
            CssClass="table table-striped table-bordered" ForeColor="#333333" GridLines="None" Width="50%" AutoGenerateColumns="False" OnRowDataBound="GridViewDetails_RowDataBound">
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />

            <Columns>


                <asp:TemplateField ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"
                    ItemStyle-Wrap="true">
                    <ItemTemplate>
                        <asp:Image runat="server" ID="Image1" />
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Title" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"
                    ItemStyle-Wrap="true">
                    <ItemTemplate>
                        <asp:Label ID="BatchNameLabel" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Type" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"
                    ItemStyle-Wrap="true">
                    <ItemTemplate>
                        <asp:Label ID="TitleLabel" runat="server" Text='<%# Bind("Type") %>'></asp:Label>
                        <asp:HiddenField ID="HiddenFieldType" runat="server" Value='<%# Bind("Type") %>'></asp:HiddenField>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Size" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left"
                    ItemStyle-Wrap="true">
                    <ItemTemplate>
                        <asp:Label ID="ValidFromDateLabel" runat="server" Text='<%# Bind("Size") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

            </Columns>
        </asp:GridView>
        <asp:DataList ID="DataList1" runat="Server"
            RepeatColumns="13" RepeatDirection="horizontal" BackColor="#f6f7f9" RepeatLayout="Table" CellPadding="2" CellSpacing="1">
            <ItemTemplate>
                <table style="width: 100%;">
                    <tr>
                        <td style="width: 95px; border: 1px solid #DDD; background: #fff; height: 120px; float: left; text-align: center; margin: 2PX 2PX 2PX 2PX; padding: 10px 5px;">
                            <img src="../../../Images/FolderIcon/Folder.png" />
                            <label style="position: relative; left: 0; width: 100%; text-align: center; word-wrap: break-word; line-height: 15px; height: 45px; overflow: hidden;">
                                <%# Eval("Title") %>
                            </label>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>

        <div runat="server" id="divColors">
        </div>














        <asp:Button ID="ButtonPrint" runat="server" Text="print" OnClick="ButtonPrint_Click" Visible="false" />
        <asp:Button ID="ButtonPdf" runat="server" Text="Pdf" OnClick="ButtonPdf_Click" Visible="false" />



    </form>
</body>
</html>
