title: Textbox does not exist in current Context
body: <p>I am sure this question comes up a lot, but I didn't find an answer in your archives. 
  Here is my ASP code:</p>
  
  <pre><code>&lt;%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RCC_ChangePassword.ascx.cs" Inherits="Regal.Web._Tester.RCC.RCC_ChangePassword" %&gt;
      &lt;div id="modal-password-change"&gt;
          &lt;div class="modal-contents"&gt;
  
              &lt;h1&gt;Change Password&lt;/h1&gt;
              &lt;div class="intro"&gt;Use the form below to change the password for your RCC account. Use the new password next time you log in.&lt;/div&gt;
  
              &lt;asp:Label ID="CurPass" Text="Current Password" runat="server"&gt;&lt;/asp:Label&gt;
              &lt;asp:Textbox  id="CurrentPass" runat="server" CssClass="required"&gt;&lt;/asp:Textbox&gt;
  
              &lt;asp:Label ID="NwPass" Text="New Password*" runat="server"&gt;&lt;/asp:Label&gt;
              &lt;asp:Textbox  id="NewPass" runat="server" CssClass="required"&gt;&lt;/asp:Textbox&gt;
  
              &lt;asp:Label ID="CnfPass" Text="Confirm Password" runat="server"&gt;&lt;/asp:Label&gt;
              &lt;asp:Textbox  id="ConfirmPass" runat="server" CssClass="required"&gt;&lt;/asp:Textbox&gt;
  
              &lt;h4&gt;Your password must include ALL of the following&lt;/h4&gt;
              &lt;ul class="notes"&gt;
                  &lt;li&gt;At least 8 characters (not more than 16 characters)&lt;/li&gt;
                  &lt;li&gt;At least one number&lt;/li&gt;
              &lt;/ul&gt;
  
              &lt;asp:Button ID="submit" Cssclass="btn blue wide" runat="server" Text="Save Changes" OnClick="btnSubmit_click"&gt;&lt;/asp:Button&gt;
  
          &lt;/div&gt;
  
      &lt;/div&gt;&lt;!-- #modal-password-change .modal --&gt;
  </code></pre>
  
  <p>And here is the line that I am getting the error on:</p>
  
  <pre><code> // Change actual password for the new password    
                          String testPass1 = NewPass.Text;    
                          if (regalMemberRepo.ChangePassword(oUser.Email, oUser.Password, testPass1))
  </code></pre>
  
  <p>can you see anything odd about my code? 
  Thank you in advance.</p>