<%@ Page Title="" Language="C#" MasterPageFile="~/eosWinkartWeb/eosWinkartWeb.Master" AutoEventWireup="true" CodeBehind="AdminInfo.aspx.cs" Inherits="WebKart.eosWinkartWeb.AdminInfo" %>
<%@ 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 align="right">
            
                <asp:Panel ID="pnlSearchHandler" runat="server">
                    <div class="searchTD">
                        <asp:Image ID="imgSearch" runat="server" ImageUrl="../App_Themes/eosMainThem/image/showSearch.png" />
                    </div>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td class="CenterTD">
                <asp:Label ID="lblError" runat="server" SkinID="LblError" EnableViewState="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel runat="server" ID="pnlSearch">
                    <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                            </td>
                            <td class="RightTD">
                                <asp:DropDownList ID="ddlSections" DataValueField="Code" DataTextField = "Name" runat="server" 
                                                 SkinID="ddlYellow" Width="250px" AutoPostBack="True" OnSelectedIndexChanged="SectionOnSelectedIndexChanged">
                                </asp:DropDownList>
                            </td>
                            <td class="LeftTD">
                                قسمت کاري:
                            </td>
                        </tr>
                        <tr>
                            <td class="RightTD" colspan="2">
                                <asp:DropDownList ID="ddlRequestType" runat="server" SkinID="ddlYellow" Width="250px" AutoPostBack="True" OnSelectedIndexChanged="RequestTypeOnSelectedIndexChanged"> 
                                </asp:DropDownList>
                                  &nbsp;
                                  <asp:Button ID="btnSearch" runat="server" Text="جستجو" 
                                    ValidationGroup="Search" SkinID="btnOrange"
                                    Style="height: 26px" onclick="SearchClick"  />
                            </td>
                            <td class="LeftTD">
                                برگه:
                            </td>
                         </tr>
                                 <tr>
            <td colspan="3" class="RightTD">
                <img src="../App_Themes/eosMainThem/image/alarm.png" alt="" />
                <asp:Label ID="lblMsg" runat="server" Text="توجه: سطر های قرمز رنگ انواع برگه هایی را نمایش می دهد که سطح تایید مدیر برای آنها تعریف نشده است."
                    SkinID="LblBrown" Font-Names="tahoma" Font-Size="10"></asp:Label>
            </td>
        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <telerik:RadGrid runat="server" ID="grdDegree" Skin="WebBlue" AutoGenerateColumns="False"
                    GridLines="None" AllowSorting="False"  GroupingEnabled="False"
                    Font-Names="Tahoma" Font-Size="10pt" OnItemDataBound="ItemDataBound"   >
                    <MasterTableView NoDetailRecordsText="" DataKeyNames="CodeName" NoMasterRecordsText="اطلاعاتي براي نمايش موجود نمي باشد">
                        <Columns>
                            <telerik:GridBoundColumn Visible="True" DataField="StatusType" HeaderText="سطح تایید"  UniqueName="StatusType" AllowSorting="False">
                                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn Visible="True" DataField="CodeName" HeaderText="نوع برگه" UniqueName="CodeName" AllowSorting="False">
                                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
            </td>
        </tr>
    </table>
   

</asp:Content>
