<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="LSS_Authorised_DeactivatedLogins.aspx.vb" MasterPageFile="~/FiniqAppMasterPage.Master" Inherits="FinIQWebApp.LSS_Authorised_DeactivatedLogins" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<%--Riddhi S 15July2016 CSS Changes --%>
    <link href="../App_Themes/LSSAuth.css" rel="stylesheet" type="text/css" />
    <asp:ScriptManagerProxy ID="ScriptManagerProxy11" runat="server">
    </asp:ScriptManagerProxy>
    <asp:UpdateProgress ID="pnlProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanelCP"
        DisplayAfter="0">
        <ProgressTemplate>
            <div>
                <img alt="Loading" src="../App_Resources/loading.gif" /><span class="lbl">Processing...&nbsp;&nbsp;
                </span>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanelCP" runat="server">
        <ContentTemplate>
            <table class="Filter">
                <tr>
                    <td>
                        <table>
                           <%-- <tr>
                                <td nowrap="nowrap" class="background_gray">
                                    Authorise Locked Login
                                </td>
                            </tr>--%>
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                            <asp:Label ID="lblInfoMsg" runat="server" CssClass="lbl" ForeColor="Blue"></asp:Label>
                                                <asp:Label ID="lblError" runat="server" CssClass="lbl" ForeColor="Red"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table class="Filter" id="Table1" width="100%">
                                                    <tr>
                                                        <td>
                                                            <table>
                                                                <tr>
                                                                    <td class="lbl">
                                                                        Search By
                                                                    </td>
                                                                    <td>
                                                                    
                                                                    <%-- Riddhi S 15July2016 Changed to telerik to improve look and feel --%>
                                                                        <telerik:RadDropDownList ID="ddlSearch" runat="server" AutoPostBack="true" >
                                                                            <Items>
                                                                                <telerik:DropDownListItem Text="All" Value="All"/>
                                                                                <telerik:DropDownListItem Text="Group Name" Value="Group Name"/>
                                                                                <telerik:DropDownListItem Text="User Name" Value="User Name"/>
                                                                                </Items>
                                                                        </telerik:RadDropDownList>
                                                                        
                                                                        <%--<asp:DropDownList ID="ddlSearch" runat="server" CssClass="ddl" AutoPostBack="true">
                                                                            <asp:ListItem Value="All">All</asp:ListItem>
                                                                            <asp:ListItem Value="Group Name">Group Name</asp:ListItem>
                                                                            <asp:ListItem Value="User Name">User Name</asp:ListItem>
                                                                        </asp:DropDownList>--%>
                                                                    </td>
                                                                    <td>
                                                                        <asp:TextBox ID="txtSearch" runat="server" CssClass="txt" AutoCompleteType="Disabled" AutoComplete="off" ></asp:TextBox>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Button ID="btnsearch" runat="server" CssClass="btn" Text="Search"></asp:Button>
                                                                    </td>
                                                                    <td>
                                                                        Page Count
                                                                        <asp:TextBox ID="txtPageCount" runat="server" Width="30px"  Text="10" MaxLength="2"></asp:TextBox>                                                                        
                                                                    </td>
                                                                    <td>
                                                                    <asp:Label ID="Label1" runat="server" CssClass="lbl">Total Records :</asp:Label>
                                                                    <asp:Label ID="lbltotalcount" runat="server" CssClass="lbl"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table class="Filter">
                                                    <tr>
                                                        <td>
                                                            <div id="DIV1" style="overflow: auto;" runat="server">
                                                                <asp:DataGrid ID="grdDeactivatedLogin" runat="server" CssClass="Grid" Width="100%"
                                                                    AutoGenerateColumns="False" AllowPaging="True" GridLines="None">
                                                                    <SelectedItemStyle CssClass="GridItemSelect" />
                                                                    <AlternatingItemStyle CssClass="AlternatItemStyle"   />
                                                                    <ItemStyle CssClass="GridItem" />
                                                                    <HeaderStyle CssClass="GridHeaderTitle" />
                                                                    <FooterStyle CssClass="GridFooter" />
                                                                    <PagerStyle CssClass="GridPager" />
                                                                    <Columns>
                                                                        <asp:BoundColumn HeaderText="User Name" DataField="L_Id">
                                                                            <ItemStyle Wrap="False" HorizontalAlign="Left" Width="110px"></ItemStyle>
                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                        </asp:BoundColumn>
                                                                        <asp:BoundColumn HeaderText="Department Name" DataField="DeptName">
                                                                            <ItemStyle Wrap="False" HorizontalAlign="Left" Width="120px"></ItemStyle>
                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                        </asp:BoundColumn>
                                                                        <asp:BoundColumn HeaderText="Group" DataField="U_Id">
                                                                            <ItemStyle Wrap="False" HorizontalAlign="Left" Width="100px"></ItemStyle>
                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                        </asp:BoundColumn>
                                                                        <asp:BoundColumn HeaderText="Current Status" DataField="L_Status">
                                                                            <ItemStyle Wrap="False" HorizontalAlign="Left" Width="100px"></ItemStyle>
                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                        </asp:BoundColumn>
                                                                        <asp:ButtonColumn Text="Authorise" ButtonType="LinkButton" ItemStyle-ForeColor="Blue"
                                                                            CommandName="Authorise" ItemStyle-Width="90px" ItemStyle-HorizontalAlign="Left"></asp:ButtonColumn>
                                                                         <asp:BoundColumn HeaderText="Requested By" DataField="Maker_ActionBy" Visible="false">
                                                                            <ItemStyle Wrap="False" HorizontalAlign="Left"></ItemStyle>
                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                        </asp:BoundColumn> 
                                                                    </Columns>
                                                                    <PagerStyle CssClass="GridPager" Mode="NumericPages"></PagerStyle>
                                                                </asp:DataGrid>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
