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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ 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="2" class="RightTD">اسامی حاضرین در تاریخ&nbsp; 
     <asp:Label ID="lblTodayDate" runat="server" Text="" SkinID="LblWhiteFont"></asp:Label>
 &nbsp;ساعت&nbsp;
 <asp:Label ID="lblTodayTime" runat="server" Text="" SkinID="LblWhiteFont"></asp:Label>
 &nbsp;</td>
 </tr>
<tr>
            <td class="RightTD">
                <asp:DropDownList ID="ddlSections" runat="server" SkinID="ddlYellow" 
                    Width="200px" AutoPostBack="True" 
                    onselectedindexchanged="ddlSections_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td class="LeftTD" style="width: 250px">
               قسمت:
            </td>
        </tr>
        <tr>
         
<td class="CenterTD" colspan="2">
<telerik:RadGrid runat="server" ID="grdPresentPersonels" Skin="WebBlue" AutoGenerateColumns="False"
                    GridLines="None" AllowPaging="false" AllowSorting="True" PageSize="30" GroupingEnabled="False"
                    Font-Names="Tahoma" Font-Size="10pt"  
                    onsortcommand="grdPresentPersonels_SortCommand">
               
                    <MasterTableView NoMasterRecordsText="اطلاعاتی برای نمایش موجود نمی باشد" DataKeyNames="perno">
                    <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                        <Columns>
                            <telerik:GridBoundColumn DataField="workgroup" HeaderText="گروه کاری" UniqueName="workgroup"
                                AllowSorting="False">
                                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="section" HeaderText="قسمت" UniqueName="section">
                                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="personName" HeaderText="نام خانوادگی و نام" UniqueName="personName">
                                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Perno" HeaderText="شماره پرسنلی" UniqueName="Perno"
                                AllowSorting="true">
                                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                    <ClientSettings ReorderColumnsOnClient="True" EnableRowHoverStyle="true"  
            EnablePostBackOnRowClick="true" AllowAutoScrollOnDragDrop="False">
                    
                        <Selecting EnableDragToSelectRows="False" />
      </ClientSettings>
                </telerik:RadGrid>
 
</td>
</tr>
<tr>
<td  colspan="2" class="LeftTD">
<asp:HyperLink runat="server" ImageUrl="~/App_Themes/eosMainThem/icons/45491.png" ID="hlPrint" Target="_blank" Visible="false"></asp:HyperLink>

   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" 
        Skin="Default" InitialDelayTime="2" MinDisplayTime="100" Width="184px">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" 
        DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="ddlSections">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="grdPresentPersonels" />
                <telerik:AjaxUpdatedControl ControlID="hlPrint" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting 
            AjaxControlID="grdPresentPersonels">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="grdPresentPersonels" />
                <telerik:AjaxUpdatedControl ControlID="hlPrint" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

</td>
</tr>

</table>
</asp:Content>
