<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Driver2/Application/Application2.master" CodeBehind="ConvictionRecord.aspx.vb" Inherits="Web.ConvictionRecord" %>
<%@ MasterType VirtualPath="Application2.Master" %>
<%@ Register TagPrefix="ctrl" Namespace="Web" Assembly="Web" %>
<%@ Register Src="~/_include/controls/StatePicker.ascx" TagPrefix="ctrl" TagName="StatePicker" %>
<%@ Register Src="~/_include/controls/YesNoPicker.ascx" TagPrefix="ctrl" TagName="YesNoPicker" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phContent" runat="server">

    <h1>Convictions</h1>


    
    <header>
        <h3>Criminal Record</h3>
    </header>

    <section>
        <ul class="formFields">
            <li>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="ynConvictedCrime"
                    Text="required" Display="Dynamic" CssClass="required" />
                <asp:Label runat="server" AssociatedControlID="ynConvictedCrime"
                    Text="Have you ever been convicted of a crime?" />
                <ctrl:YesNoPicker ID="ynConvictedCrime" runat="server" />
            </li>
        </ul>
        <ul class="formFields">
            <li>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="ynDeferredProsecutions"
                    Text="required" Display="Dynamic" CssClass="required" />
                <asp:Label runat="server" AssociatedControlID="ynDeferredProsecutions"
                    Text="Do you have any deferred prosecutions?" />
                <ctrl:YesNoPicker ID="ynDeferredProsecutions" runat="server" />
            </li>
        </ul>
        <ul class="formFields">
            <li>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="ynCriminalChargesPending"
                    Text="required" Display="Dynamic" CssClass="required" />
                <asp:Label runat="server" AssociatedControlID="ynCriminalChargesPending"
                    Text="Do you have criminal charges pending?" />
                <ctrl:YesNoPicker ID="ynCriminalChargesPending" runat="server" />
            </li>
        </ul>
    </section>

     <header>
        <h3>Felonies</h3>
    </header>

    <section>
        <ul class="formFields">
            <li>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="ynFelonyPled"
                    Text="required" Display="Dynamic" CssClass="required" />
                <asp:Label runat="server" AssociatedControlID="ynFelonyPled"
                    Text="Have you ever pled 'guilty' to, been convicted of, or pled 'no contest' to a felony?" />
                <ctrl:YesNoPicker ID="ynFelonyPled" runat="server" />
            </li>
        </ul>
        <ul class="formFields">
            <li>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="ynFelonyMinister"
                    Text="required" Display="Dynamic" CssClass="required" />
                <asp:Label runat="server" AssociatedControlID="ynFelonyMinister"
                    Text="If you have any felony convictions, do you currently hold a minister's permit to enter or exit Canada?" />
                <ctrl:YesNoPicker ID="ynFelonyMinister" runat="server" />
            </li>
        </ul>
     </section> 
    <header>
        <h3>Misdemeanors</h3>
    </header>
      <section>
        <ul class="formFields">
            <li>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="ynMisdemeanor"
                    Text="required" Display="Dynamic" CssClass="required" />
                <asp:Label runat="server" AssociatedControlID="ynMisdemeanor"
                    Text="Have you, within the last five years, pled 'guilty' to, been convicted of, had prosecution deferred in connection with, or pled 'no contest' to a misdemeanor?" />
                <ctrl:YesNoPicker ID="ynMisdemeanor" runat="server" />
            </li>
        </ul>
     </section>

</asp:Content>
