<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Registration.ascx.vb" Inherits="WebFoundations.WFPortal.UI.Registration" %>
<%@ Register Assembly="WebFoundations.ServerControls" Namespace="WebFoundations.ServerControls" TagPrefix="cc1" %>
<div class="fields">
    <label class="photo">
        <asp:Label ID="lblimage1" runat="server" />
        <asp:Image runat="server" ID="imgPhoto" BorderStyle="NotSet" CssClass="photo user" Visible="false" />
        <div>
            <cc1:imageupload id="imgImage1" runat="server" maxfilesize="500" />
        </div>
    </label>
    <label>
        <asp:Label ID="lblname" runat="server" />
        <asp:TextBox ID="txtname" runat="server" MaxLength="200" />
        <asp:RequiredFieldValidator ID="reqname" Display="Dynamic" runat="server" ControlToValidate="txtname" />
    </label>
    <label>
        <asp:Label ID="lblemail" runat="server" />
        <asp:TextBox ID="txtemail" runat="server" MaxLength="250" />
        <asp:RequiredFieldValidator ID="reqemail" Display="Dynamic" runat="server" ControlToValidate="txtemail" />
        <asp:RegularExpressionValidator ID="vlemail" runat="server" ControlToValidate="txtemail"
            Display="Dynamic" ErrorMessage="RegularExpressionValidator"
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
    </label>
    <label>
        <asp:Label ID="lblcompany" runat="server" />
        <asp:TextBox ID="txtcompany" runat="server" MaxLength="80" />
    </label>
    <label>
        <asp:Label ID="lblarea" runat="server" />
        <asp:TextBox ID="txtarea" runat="server" MaxLength="30" />
    </label>
    <label id="TRLogin" runat="server">
        <asp:Label ID="lbllogin" runat="server" />
        <asp:TextBox ID="txtlogin" runat="server" MaxLength="120" />
    </label>
    <label>
        <asp:Label ID="lblpwd" runat="server" />
        <asp:TextBox ID="txtpwd" runat="server" MaxLength="120" TextMode="Password" />
        <asp:CompareValidator ID="vlpwdconf2" runat="server" ControlToCompare="txtpwdconf" ControlToValidate="txtpwd" Display="Dynamic" />
    </label>
    <label>
        <asp:Label ID="lblpwdconf" runat="server" />
        <asp:TextBox ID="txtpwdconf" runat="server" MaxLength="120" TextMode="Password" />
        <asp:CompareValidator ID="vlpwdconf" runat="server" ControlToValidate="txtpwdconf" Display="Dynamic" ControlToCompare="txtpwd" />
    </label>
    <label>
        <asp:Label ID="lblbirthdate" runat="server" />
        <cc1:datepicker id="txtbirthdate" runat="server" maxtoday="True" />
    </label>
    <label>
        <asp:Label ID="lbllocation" runat="server" />
        <asp:DropDownList ID="lstlocation" runat="server" />
    </label>
    <label runat="server" visible="false">
        <asp:Label ID="lblimage2" runat="server" />
        <cc1:imageupload id="imgimage2" runat="server" destinationpath="" maxfilesize="500" />
        <asp:HyperLink ID="lnkimage2" Visible="false" runat="server" Target="_blank" />
    </label>
    <label>
        <asp:Label ID="lblphonehome" runat="server" />
        <asp:TextBox ID="txtphonehome" runat="server" MaxLength="18" />
    </label>
    <label>
        <asp:Label ID="lblphonewk" runat="server" />
        <asp:TextBox ID="txtphonewk" runat="server" MaxLength="18" />
    </label>
    <label>
        <asp:Label ID="lblphonemobile" runat="server" />
        <asp:TextBox ID="txtphonemobile" runat="server" MaxLength="18" />
    </label>
    <label>
        <asp:Label ID="lblext" runat="server" />
        <asp:TextBox ID="txtext" runat="server" MaxLength="8" />
    </label>
    <label>
        <asp:Label ID="lblcontact" runat="server" />
        <asp:TextBox ID="txtcontact" runat="server" MaxLength="50" />
    </label>
    <label>
        <asp:Label ID="lbladdress" runat="server" />
        <asp:TextBox ID="txtaddress" runat="server" MaxLength="200" />
    </label>
    <label>
        <asp:Label ID="lblneighbour" runat="server" />
        <asp:TextBox ID="txtneighbour" runat="server" MaxLength="50" />
    </label>
    <label>
        <asp:Label ID="lblcity" runat="server" />
        <asp:TextBox ID="txtcity" runat="server" MaxLength="50" />
    </label>
    <label>
        <asp:Label ID="lblstate" runat="server" />
        <asp:TextBox ID="txtstate" runat="server" MaxLength="2" />
    </label>
    <label>
        <asp:Label ID="lblzip" runat="server" />
        <asp:TextBox ID="txtzip" runat="server" MaxLength="50" />
    </label>
    <label>
        <asp:Label ID="lblcpf" runat="server" />
        <asp:TextBox ID="txtcpf" runat="server" MaxLength="12" />
    </label>
    <label>
        <asp:Label ID="lblcgc" runat="server" />
        <asp:TextBox ID="txtcgc" runat="server" MaxLength="14" />
    </label>
</div>
<section class="actions">
    <asp:Button ID="btnok" runat="server" />
</section>
