<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="CustomLogin.ascx.vb" Inherits="WebFoundations.WFPortal.BaseModules.UI.CustomLogin" %>
<%@ Register Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" TagPrefix="wf" %>

<wf:ExtendedPanel ID="pnlLoginControl" DefaultButton="btnok" runat="server" cssclass="login login-module" tag="section">
    <div>
        <asp:Literal ID="litChangeMessage" runat="server" />
    </div>

    <wf:ExtendedPanel ID="pnlLogin" runat="server" tag="label">
        <asp:Label ID="lbllogin" runat="server" /><asp:TextBox ID="txtlogin" runat="server" />
        <asp:RequiredFieldValidator ID="reqLoginReset" runat="server" ControlToValidate="txtlogin" ValidationGroup="reset" Display="Dynamic" />
    </wf:ExtendedPanel>

    <label>
        <asp:Label ID="lblpwd" runat="server" /><asp:TextBox ID="txtpwd" runat="server" TextMode="Password" />
    </label>

    <asp:PlaceHolder ID="pnlChange" runat="server">
        <label>
            <asp:Label ID="lblpwdchg" runat="server" /><asp:TextBox ID="txtpwdchg" runat="server" TextMode="Password" />
            <asp:CompareValidator ID="vlpwdconf2" runat="server" ControlToCompare="txtpwdconf" ControlToValidate="txtpwdchg" Display="Dynamic" />
        </label>

        <label>
            <asp:Label ID="lblpwdconf" runat="server" /><asp:TextBox ID="txtpwdconf" runat="server" TextMode="Password" />
            <asp:CompareValidator ID="vlpwdconf" runat="server" ControlToValidate="txtpwdconf" Display="Dynamic" ControlToCompare="txtpwdchg" />
        </label>
    </asp:PlaceHolder>

    <div class="no-label">
        <asp:CheckBox ID="chkremember" CssClass="checkbox" runat="server" />
    </div>

    <div class="no-label login-retrieve">
        <asp:LinkButton ID="lnkRetrieve" CssClass="retrieve" runat="server" ValidationGroup="reset" />
    </div>

    <asp:Panel ID="pnReset" CssClass="no-label login-reset" runat="server">
        <asp:LinkButton ID="lnkReset" CssClass="retrieve" runat="server" ValidationGroup="reset" OnClick="lnkReset_Click" />
    </asp:Panel>

    <asp:Button ID="btnok" runat="server" CssClass="ok" />
</wf:ExtendedPanel>
