<%@ Page Title="Password Override- Auto Password Generation" 
Language="vb" AutoEventWireup="false" MasterPageFile="~/FiniqAppMasterPage.Master" 
CodeBehind="PasswordOverride_AutoGen.aspx.vb" Inherits="FinIQWebApp.PasswordOverride_AutoGen" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">
 <link href="../App_Themes/LSSStyle_Admin.css" rel="stylesheet" type="text/css" />
   <asp:ScriptManagerProxy ID="ScriptManagerProxy11" runat="server">
    </asp:ScriptManagerProxy>
    
    <%-- <script language="javascript" type="text/javascript">

        function clearall() {
            document.getElementById("txtGroup").setAttribute("value", "");
            document.getElementById("txtUser").setAttribute("value", "");
            document.getElementById("txtNewPWD").setAttribute("value", "");
            document.getElementById("txtConfirmPWD").setAttribute("value", "");
        }

        function OpenPopUp() {
            var strSearch;
            strSearch = Trim(document.getElementById("txtUser").value);
            DisplayPopup('UserList', 'frmUserListPopUpForPassOverride.Aspx', strSearch, 350, 420, 0);
        }       
    </script>--%>
    <asp:UpdateProgress ID="pnlProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1" DisplayAfter="0">
       <ProgressTemplate>
            <div>
                <img alt="Loading" src="../App_Resources/loading.gif" /><span class="lbl">Processing password override request...&nbsp;&nbsp;
                </span>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="Filter">
                <tr>
                  <%--  <td nowrap class="background_gray">
                        Password Override- Auto Password Generation
                    </td>--%>
                </tr>
                <tr>
                    <td>
                     <%--Rutuja 14 Aug 2014:Added label for info messages with green color --%>
                 <asp:Label ID="lblMsgInfo" runat="server" CssClass="lbl" ForeColor="Blue" ></asp:Label>
                   <%--/Rutuja 14 Aug 2014:Added label for info messages with green color --%>
                        <asp:Label ID="LblError" runat="server" CssClass="lblerror"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td class="lbl">
                                    Group
                                </td>
                                <td>
                                    <asp:TextBox ID="txtGroup" runat="server" oncopy="return false" onpaste="return false" Enabled ="false" 
                                        oncut="return false" ReadOnly="true" CssClass="txt"></asp:TextBox>
                                    <%--<asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="Txtoldpassword"
                                        Display="None" ErrorMessage="Invalid Old Password ..."></asp:CustomValidator>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="lbl">
                                    User
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUser" runat="server" oncopy="return false" onpaste="return false"
                                        oncut="return false" AutoPostBack="true" CssClass="txt"></asp:TextBox>
                                    <%--    <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="Txtnewpassword"
                                        Display="None" ErrorMessage="Invalid New Password ..."></asp:CustomValidator>--%>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <%--<AvinashG. on 05-May-2014: Changing button Text from 'Update' to 'Generate & Notify'>--%>
                                    <asp:Button ID="Btnupdate" runat="server" CssClass="btn" Text="Generate & Notify" 
                                        Width="124px" />
                                    &nbsp; &nbsp;
                                    <asp:Button ID="btnCancel" runat="server" CssClass="btn" Text="Cancel" 
                                        Width="54px" />
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="False" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <asp:HiddenField ID="HdnExternalKey" runat="server" />
            <asp:HiddenField ID="HdnEnableMultiEntity" runat="server" />
            <asp:HiddenField ID="HdnpasswordHistorCount" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

