title: Textbox doesn't exist in the current context
body: <p>I have a problem with my code. Below is simple example, without a lot of unnecessary html tags. Only important things, to show up the problem. <br>
  <br></p>
  
  <p>When I enter page, I get that error:
  <br></p>
  
  <blockquote>
    <p>Error creating usercontrol
    (usercontrols/own/profilEdit.ascx)<br>c:\inetpub\wwwroot\umbraco\usercontrols\own\profilEdit.ascx(705):
    error CS0103: The name 'satbCountry' does not exist in the current
    context</p>
  </blockquote>
  
  <p><br>
  This error is connected with <code>&lt;script&gt;</code> code (anyway this js code is correct, on another subpage works perfectly, but here when this code is on page, it crushes). Why I get this message?</p>
  
  <p><br>
  <br>
  Here code:</p>
  
  <pre><code>                &lt;asp:View ID="vSpecialist" runat="server"&gt;
  
                      &lt;asp:UpdatePanel ID="UpdatePanel3" runat="server"&gt;
                          &lt;ContentTemplate&gt;
  
                           (..)    
  
          &lt;asp:ListView runat="server" ID="lvAddressess" ItemPlaceholderID="phAddress" OnItemDataBound="lvAddressess_ItemDataBound"&gt;
     &lt;LayoutTemplate&gt; 
  &lt;asp:PlaceHolder ID="phAddress" runat="server"&gt;&lt;/asp:PlaceHolder&gt;
  
    &lt;/LayoutTemplate&gt;
                  &lt;ItemTemplate&gt;
                &lt;script&gt;
                var input = document.getElementById('&lt;%=satbCountry.ClientID %&gt;');
                var options = {
                    types: ['(regions)']
                };
                var autocomplete = new google.maps.places.Autocomplete(input, options);
  
                &lt;/script&gt;
                &lt;asp:TextBox CssClass="textbox"  type="text" runat="server" ID="satbCountry"&gt;&lt;/asp:TextBox&gt;
  
                              &lt;/ItemTemplate&gt;
                          &lt;/asp:ListView&gt;
  
  
                      &lt;/ContentTemplate&gt;
          &lt;/asp:UpdatePanel&gt;
  
              &lt;/asp:View&gt;
  </code></pre>