<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/FiniqAppMasterPage.Master"
    CodeBehind="PasswordOverride.aspx.vb" Inherits="FinIQWebApp.PasswordOverride" Title="Password Override" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:content id="Content1" runat="server" contentplaceholderid="MainContent">
    <%-- <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:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="Filter">
                <tr>
                    <td nowrap class="background_gray">
                        Password Override
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="LblError" runat="server" CssClass="lblerror"></asp:Label>
                        <%--JiraNumber:-UBPINT-393 Added by Shubham K on 05-Mar-2021 for UBP project--%>
                        <asp:Label ID="lblSuccess" runat="server" CssClass="lblSuccess" ></asp:Label>
                        <asp:Label ID="lblInfo" runat="server" CssClass="lblInfo" ></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"
                                        oncut="return false" ReadOnly="true"></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"></asp:TextBox>
                                    <%--    <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="Txtnewpassword"
                                        Display="None" ErrorMessage="Invalid New Password ..."></asp:CustomValidator>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="lbl">
                                    New Password
                                </td>
                                <td>
                                    <asp:TextBox ID="txtNewPWD" runat="server" TextMode="Password" oncopy="return false"
                                        onpaste="return false" oncut="return false" autocomplete = "off" ></asp:TextBox>
                                    <%--<asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="Txtoldpassword"
                                        Display="None" ErrorMessage="Invalid Old Password ..."></asp:CustomValidator>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="lbl">
                                    Confirm Password
                                </td>
                                <td>
                                    <asp:TextBox ID="txtConfirmPWD" runat="server" TextMode="Password" oncopy="return false"
                                        onpaste="return false" oncut="return false" autocomplete = "off" ></asp:TextBox>
                                    <%--    <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="Txtnewpassword"
                                        Display="None" ErrorMessage="Invalid New Password ..."></asp:CustomValidator>--%>
                                </td>
                            </tr>
            				<%-- ''ArshadM --%>
                            <tr>
                                <td>

                                </td>
                                <td>
                                     <telerik:RadCaptcha ID="RadCaptcha1" runat="server" ImageStorageLocation="Session"
                                        Display="Dynamic" ErrorMessage="The code you entered is not valid." CaptchaTextBoxLabel="" ProtectionMode="Captcha" 
                                        CaptchaImage-TextLength="4" Enabled="true" EnableRefreshImage="true"  Height="120px" Width="250px" TabIndex="3" >
                                     </telerik:RadCaptcha>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="Btnupdate" runat="server" CssClass="btn" Text="Update" Width="54px" />
                                    &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>
