<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Controls" %>
	

<CS:DisplayTitle  runat="server" />
<p />
<table cellpadding="2" cellspacing="0" width="100%" border="0">
  <tr>
    <td align="center">
      <table class="tableBorder" cellspacing="0" cellpadding="3" width="600">
        <tr>
          <td align="left" class="column" colspan="3">
            <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_Title"/> <asp:Label id="UserName" runat=server />
          </td>
        </tr>
	<tr>
	  <td class="txt4">
	    <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_Instructions" />
	  </td>
	</tr>
        <tr>
          <td class="fh2" colspan="3">
            <table cellpadding="3" cellspacing="0" border="0" width="100%">
              <asp:Panel id="showCurrentPasswordAnswer" runat="Server" visible="false">
              <tr>
                <td align="left" class="fh2" nowrap="true">
                  <b>
                    <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_CurrentQuestion" />
                  </b>
                </td>
                <td align="left" class="fh2">
                    <asp:Label id="CurrentQuestion" runat=server />
                </td>
              </tr>            
              <tr>
                <td align="left" class="fh2" nowrap="true">
                  <b>
                    <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_CurrentAnswer" />
                  </b>
                </td>
                <td align="left" class="fh2">
                  <asp:textbox TextMode="SingleLine" runat="server" id="Answer" Columns="40" MaxLength="64"/>
                  <asp:RegularExpressionValidator id="AnswerRegexValidator" ControlToValidate="Answer" runat="server" ValidationExpression="[1-zA-Z0-1@.\s]{0,256}" Display="Dynamic" >*</asp:RegularExpressionValidator>               
                </td>
              </tr>
              </asp:Panel>
              <tr>
                <td align="left" class="fh2" nowrap="true">
                  <b>
                    <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_NewQuestion" />
                  </b>
                </td>
                <td align="left" class="fh2">
                    <CS:QuestionsDropDownList id="NewQuestion" runat="server" />
                </td>
              </tr>
              <tr>
                <td align="left" nowrap="true" class="fh2">
                  <b>
                    <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_NewAnswer" />
                  </b>
                </td>
                <td align="left" class="fh2">
                  <asp:textbox TextMode="SingleLine" runat="server" id="NewAnswer1" Columns="40" MaxLength="64"/>
                  <asp:requiredfieldvalidator id="ValidateAnswer1" runat="server" ControlToValidate="NewAnswer1" Display=Dynamic>*</asp:requiredfieldvalidator>
                  <asp:RegularExpressionValidator id="Answer1RegrexValidator" ControlToValidate="NewAnswer1" runat="server" ValidationExpression="[1-zA-Z0-1@.\s]{1,256}" Display="Dynamic" >*</asp:RegularExpressionValidator>               
                </td>        
              </tr>        
              <tr>
                <td align="left" nowrap="true" class="fh2">
                  <b>
                    <CS:ResourceLabel runat="server" ResourceName="ChangePasswordAnswer_ReEnterNewAnswer" />
                  </b>
                </td>
                <td align="left" class="fh2">
                  <asp:textbox TextMode="SingleLine" runat="server" id="NewAnswer2" Columns="40" MaxLength="64"/>
                  <asp:requiredfieldvalidator id="ValidateAnswer2" runat="server" ControlToValidate="NewAnswer2" Display=Dynamic>*</asp:requiredfieldvalidator>
                  <asp:CompareValidator id="CompareAnswer" runat="server" ControlToValidate="NewAnswer2" ControlToCompare="NewAnswer1" Display=Dynamic>*</asp:comparevalidator>
                </td>        
              </tr>
              <tr>
		<td></td>
                <td align="left" class="fh2">
                  <asp:ValidationSummary id="ValidationMsg" runat="server" DisplayMode="BulletList" Width="100%" CssClass="validationError" />               
                </td>
              </tr>            
              <tr>
                <td align="right" class="fh2" colspan="2">
                  <asp:button id="ChangeAnswerButton" runat="server" />
                </td>
              </tr>            
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
	
