<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/FiniqAppMasterPage.Master" CodeBehind="UCPAuditTrailReports.aspx.vb" Inherits="FinIQWebApp.UCPAuditTrailReports" MaintainScrollPositionOnPostback="True" %>
<%@ Register Src="../FinIQ_User_Controls/DateControl.ascx" TagName="DateControl"
    TagPrefix="uc1" %>
<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"></asp:ScriptManagerProxy>
    <link href="../App_Themes/Styles.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/Style1.css" rel="stylesheet" type="text/css" />

    <style>
        .GridHeader th {
            color: black;
            font: normal 11px verdana !important;
            line-height: 200%;
            word-wrap: break-word !important;

        }

        .GridItem td {
            text-align: center;
        }

         

        .Grid {
            margin: 5px;
        }

         .GridItem td{
            max-width:350px !important;
             word-wrap: break-word !important;
        }
        .table1 tr td{
            padding:5px;
            max-width:500px;
        }

        .alignLeft {
            text-align: left !important;
        }

        .alignRight {
            text-align: right !important;
        }

        .alignCenter {
            text-align: center !important;
        }
    </style>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" class="PanelPad" UpdateMode="Conditional" ChildrenAsTriggers="true">
        <ContentTemplate>
            <table class="table1">
                <tr>
                    <td>
                        <div style="padding: 10px;">
                            <asp:DropDownList ID="ddlTabList" runat="server" AutoPostBack="true">
                                <asp:ListItem Value="All" Text="All"></asp:ListItem>
                                <asp:ListItem Value="Custom Array" Text="Custom Array"></asp:ListItem>
                                <asp:ListItem Value="Customer Grid Mapping" Text="Customer Grid Mapping"></asp:ListItem>
                                <asp:ListItem Value="Dynamic Customer Grid" Text="Dynamic Customer Grid"></asp:ListItem>
                                <asp:ListItem Value="Edit Rights" Text="Edit Rights"></asp:ListItem>
                                <asp:ListItem Value="Function Definition" Text="Function Definition"></asp:ListItem>
                                <asp:ListItem Value="Intersection Fields" Text="Intersection Field"></asp:ListItem>
                                <asp:ListItem Value="Layout" Text="Layout"></asp:ListItem>
                                 <asp:ListItem Value="Note Master" Text="Note Master"></asp:ListItem>
                                <asp:ListItem Value="Tab Mapping" Text="Tab Mapping"></asp:ListItem>
                                
                            </asp:DropDownList>
                        </div>
                    </td>

                            <td>
                        <div style="padding: 10px;">
                            <asp:DropDownList ID="ddlIp" runat="server" AutoPostBack="true">

                                  <asp:ListItem Value="IP" Text="IP"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </td>


                    <td>

                        <asp:Label ID="Label3" runat="server" Text="From" CssClass="lbl"></asp:Label>
                    </td>


                    <td class="labelsCal">
                        <uc1:DateControl ID="txtFromDate" runat="server" CalenderCss="btn1" TextBoxCss="txt" />
                    </td>


                    <td>
                        <asp:Label ID="Label1" runat="server" Text="To" CssClass="lbl"></asp:Label>
                    </td>

                    <td class="labelsCal">
                        <uc1:DateControl ID="txtToDate" runat="server" CalenderCss="btn1" TextBoxCss="txt" />
                    </td>

                    <td>
                        <asp:Button ID="btnLoad" runat="server" Text="Load" class="btn" Style="width: 80px;" />
                    </td>
                    <%--Added by Bhagyashri B on 7th Nov 2019 for Export--%>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="Export" CssClass="btn" Width="80px" Enabled="false" />
                    </td>
                    <%--End by Bhagyashri B--%>
                </tr>
            </table>

            <div style="padding: 10px;">
                <asp:GridView HeaderStyle-Wrap="false" ID="grdReportData" BorderWidth="0" runat="server" AutoGenerateColumns="false" CssClass="Grid">
                    <SelectedRowStyle CssClass="GridItemSelect" />
                    <AlternatingRowStyle CssClass="GridItem" />
                    <RowStyle CssClass="GridItem" Wrap="true" />
                    <HeaderStyle CssClass="GridHeader" Wrap="True" />
                    <FooterStyle CssClass="GridFooter" />
                </asp:GridView>
            </div>
        </ContentTemplate>
        <%--Added by Bhagyashri B on 7th Nov 2019 for Export--%>
        <Triggers>
            <asp:PostBackTrigger ControlID="btnExport" />
        </Triggers>
        <%--End by Bhagyashri B--%>
    </asp:UpdatePanel>
</asp:Content>
