<%@ Page Title="" Language="C#" MasterPageFile="~/eosWinkartWeb/eosWinkartWeb.Master"
    AutoEventWireup="true" CodeBehind="eosPeriodWork.aspx.cs" Inherits="WebKart.eosWinkartWeb.eosPeriodWork" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%">
        <tr>
            <td colspan="4" class="CenterTD">
                <asp:Label ID="lblError" runat="server" SkinID="LblError"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="4" class="RightTD">
                مشاهده کارکرد دوره ای :: لطفا سال و دوره مورد نظر خود را انتخاب کنید
            </td>
        </tr>
        <tr>
            <td class="RightTD">
                <asp:DropDownList ID="ddlPeriod" runat="server" DataTextField="PERIOD" DataValueField="PERIOD"
                    Width="100px">
                </asp:DropDownList>
            </td>
            <td class="LeftTD">
                انتخاب دوره:
            </td>
            <td class="RightTD">
                <asp:DropDownList ID="ddlYears" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlYears_SelectedIndexChanged"
                    Width="100px">
                </asp:DropDownList>
            </td>
            <td class="LeftTD">
                انتخاب سال:
            </td>
        </tr>
        <tr>
            <td class="RightTD">
                <asp:Button ID="btnShowPeriodWork" runat="server" Text="نمایش کارکرد" SkinID="btnOrange"
                    OnClick="btnShowPeriodWork_Click" />
            </td>
            <td class="LeftTD">
                &nbsp;
            </td>
            <td class="RightTD">
                &nbsp;
            </td>
            <td class="LeftTD">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:Panel runat="server" ID="pnlPeriodWork" Visible="false">
                    <hr style="size: 1; color: Yellow; width: 90%" />
                    <table width="100%" border="0">
                        <tr>
                            <td class="RightTD">
                                <asp:Label ID="lblKasreKar" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                کسر کار:
                            </td>
                            <td class="RightTD">
                                <asp:Label ID="lblEzafekariMozaj" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                اضافه کار مجاز:
                            </td>
                            <td class="RightTD">
                                <asp:Label ID="lblSaatKarkard" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                ساعت کارکرد:
                            </td>
                            <td class="RightTD">
                                <asp:Label ID="lblRozKarKard" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                روز کارکرد:
                            </td>
                        </tr>
                        <tr>
                            <td class="RightTD">
                            </td>
                            <td class="LeftTD">
                            </td>
                            <td class="RightTD">
                                <asp:Label ID="lblMamoriat" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                ماموریت:
                            </td>
                            <td class="RightTD">
                                <asp:Label ID="lblMorakhasiBedoneHoghogh" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                مرخصی بدون حقوق:
                            </td>
                            <td class="RightTD">
                                <asp:Label ID="lblMorakhasiEstehghaghi" runat="server"></asp:Label>
                            </td>
                            <td class="LeftTD">
                                مرخصی استفاده شده:
                            </td>
                        </tr>
                    </table>
                    <table border="0" width="100%">
                        <tr>
                            <td class="LeftTD">
                                <asp:Button ID="btnMahWorkDetail" runat="server" OnClick="btnPeriodWorkDetail_Click"
                                    SkinID="btnOrange" Text="مشاهده جزئیات" />
                            </td>
                        </tr>
                    </table>
                    <hr style="size: 1; color: Yellow; width: 90%" />
                    <br />
                </asp:Panel>
            </td>
        </tr>
    </table>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"
        InitialDelayTime="2" MinDisplayTime="100" Width="184px">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"
        EnableHistory="True">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ddlYears">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlPeriod" />
                    <telerik:AjaxUpdatedControl ControlID="btnShowPeriodWork" />
                    <telerik:AjaxUpdatedControl ControlID="pnlPeriodWork" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="btnShowPeriodWork">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblError" />
                    <telerik:AjaxUpdatedControl ControlID="pnlPeriodWork" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
</asp:Content>
