<%@ page language="C#" masterpagefile="~/ReportLayer/ReportLayerMaster.master" autoeventwireup="true" inherits="ReportLayer_PersonnelReport, CardAccess.Web.UI_deploy" title="Untitled Page" theme="Office2007Black" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="asyncPanel" runat="server">
        <ContentTemplate>
            <asp:Label ID="lblTableHeader" runat="server" SkinID="TableHeader" Style="font-size: 8pt;
                font-weight: bold; color: #033E82; padding-left: 5px;"></asp:Label>
            <br />
            &nbsp;
            <ig:WebTab ID="UltraWebTab1" runat="server" Width="100%" Height="550px">
                <PostBackOptions EnableLoadOnDemandUrl="true" />
                <Tabs>
                    <ig:ContentTabItem Key="keyConfiguration" Text="Configuration">
                        <Template>
                            <div style="padding: 5px;">
                            <br />
                                <table border="0">
                                    <tr valign="middle">
                                        <td style="padding-top: 5px;">
                                            <div class="ig_Office_2007ReportPreViewBg">
                                                <asp:LinkButton Style="margin-top: 10px; text-decoration: none; color: #033E82" ID="LinkPreview"
                                                    OnClick="LinkPreview_Click" runat="server" OnClientClick="return previewReport();"
                                                    ToolTip="Click here to Preview the report">Preview Report</asp:LinkButton>
                                            </div>
                                        </td>
                                        <td>
                                            <ig:WebDropDown ID="ddlTimeFormat" runat="server" Visible="true" DisplayMode="DropDownList"
                                                Width="120px" DropDownContainerHeight="60px">
                                            </ig:WebDropDown>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblPartition" runat="server" Text="Partition"></asp:Label>
                                        </td>
                                        <td>
                                            <ig:WebDropDown ID="ddlPartition" runat="server" Visible="true" DisplayMode="DropDownList"
                                                Width="180px" DropDownContainerHeight="150px">
                                            </ig:WebDropDown>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <table border="0">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblRptTitle" runat="server"></asp:Label>
                                    </td>
                                    <td colspan="3">
                                        <ig:WebTextEditor ID="txtRptTitle" runat="server" Width="100%">
                                        </ig:WebTextEditor>
                                    </td>
                                </tr>
                                <tr valign="middle">
                                    <td>
                                        <asp:ListBox ID="lstFirstColumnList" Font-Names="Tahoma" Font-Size="8pt" runat="server"
                                            Width="160" Height="385" />
                                    </td>
                                    <td style="width: 35px; text-align: center;">
                                        <igtxt:WebImageButton ID="btnAdd" runat="server" Text=">" OnClick="btnAdd_Click" Width="50px">
                                        </igtxt:WebImageButton>
                                        <br />
                                        <br />
                                        <igtxt:WebImageButton ID="btnRemove" runat="server" Text="<" OnClick="btnRemove_Click" Width="50px">
                                        </igtxt:WebImageButton>
                                    </td>
                                    <td>
                                        <asp:ListBox ID="lstFinalColumnList" Font-Names="Tahoma" Font-Size="8pt" runat="server"
                                            Width="160" Height="385"></asp:ListBox>
                                    </td>
                                    <td>
                                        <table>
                                            <tr>
                                                <td>
                                                    <igmisc:WebGroupBox ID="gbExpression" Text="Expression" runat="server" BackColor="Transparent">
                                                        <Template>
                                                            <table border="0">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="lblField" runat="server" Text="Field" />
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="lblCondition" runat="server" Text="Condition" />
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="lblValue" runat="server" Text="Value" />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <ig:WebDropDown ID="cboField" runat="server" Visible="true" DisplayMode="DropDown"
                                                                            Width="200px" AutoPostBackFlags-ValueChanged="On" OnSelectionChanged="cboField_ValueChanged">
                                                                        </ig:WebDropDown>
                                                                    </td>
                                                                    <td>
                                                                        <ig:WebDropDown ID="cboCondition" runat="server" Visible="true" DisplayMode="DropDownList"
                                                                            Width="80px">
                                                                        </ig:WebDropDown>
                                                                    </td>
                                                                    <td>
                                                                        <ig:WebNumericEditor ID="numFieldValue" Width="150px" Visible="true" runat="server" Height="25px"></ig:WebNumericEditor>
                                                                        <ig:WebTextEditor ID="txtValue" runat="server" BackColor="White" Visible="false"
                                                                            Width="150" Height="25px" MaxLength="41">
                                                                        </ig:WebTextEditor>
                                                                        <ig:WebDropDown ID="cboValue" runat="server" Visible="false" DisplayMode="DropDownList"
                                                                            Width="150px" Height="25px">
                                                                        </ig:WebDropDown>
                                                                        <ig:WebDatePicker ID="dateFieldValue" runat="server" Visible="false" Width="150" Height="25px">
                                                                        </ig:WebDatePicker>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="3" align="right" style="padding-right: 10px;">
                                                                        <asp:Label ID="lblValueInfo" runat="server" Text="" Height="20" />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <igmisc:WebGroupBox ID="gbLogicalOperation" runat="server" Text="Logical Operation" BackColor="Transparent">
                                                                            <Template>
                                                                                <table width="100%">
                                                                                    <tr>
                                                                                        <td>
                                                                                            <asp:RadioButton GroupName="rbCondition" ID="rbNone" runat="server" Text="None" Checked="true" />
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:RadioButton GroupName="rbCondition" ID="rbAnd" runat="server" Text="AND" />
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:RadioButton GroupName="rbCondition" ID="rbAndNot" runat="server" Text="AND NOT" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <asp:RadioButton GroupName="rbCondition" ID="rbNot" runat="server" Text="NOT" />
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:RadioButton GroupName="rbCondition" ID="rbOr" runat="server" Text="OR" />
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:RadioButton GroupName="rbCondition" ID="rbOrNot" runat="server" Text="OR NOT" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </Template>
                                                                        </igmisc:WebGroupBox>
                                                                    </td>
                                                                    <td style="padding-left: 68px;">
                                                                        <igtxt:WebImageButton ID="btnAccept" runat="server" Width="75" Text="Accept" OnClick="btnAccept_Click">
                                                                        </igtxt:WebImageButton>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </Template>
                                                    </igmisc:WebGroupBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <igmisc:WebGroupBox ID="gbConditions" runat="server" Text="Conditions" BackColor="Transparent">
                                                        <Template>
                                                            <table border="0" width="100%">
                                                                <tr valign="top">
                                                                    <td>
                                                                        <asp:ListBox ID="lbFilter" Font-Names="Tahoma" Font-Size="8pt" runat="server" Width="340"
                                                                            Height="160"></asp:ListBox>
                                                                    </td>
                                                                    <td style="padding-left: 10px;">
                                                                        <igtxt:WebImageButton ID="btnDelete" Width="75" runat="server" Text="Delete" OnClick="btnDelete_Click">
                                                                        </igtxt:WebImageButton>
                                                                        <br />
                                                                        <br />
                                                                        <igtxt:WebImageButton ID="btnClearAll" Width="75" runat="server" Text="Clear All"
                                                                            OnClick="btnClearAll_Click">
                                                                        </igtxt:WebImageButton>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </Template>
                                                    </igmisc:WebGroupBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                        <asp:CheckBox ID="chkPhoto" runat="server" Text="Print Badge Photos" />
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chkFilter" Text="Show Query On Report" runat="server" />
                                    </td>
                                </tr>
                            </table>
                        </Template>
                    </ig:ContentTabItem>
                </Tabs>
            </ig:WebTab>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
