title: Copy value from HTML controls to ASP.NET user control
body: <p>I'm new to this world. Let me explain you by photos.<a href="https://i.stack.imgur.com/Fb3j6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fb3j6.png" alt="enter image description here"></a></p>
  
  <p>Here is the first photo, I have a user control called "Adress.ascx" and on this page there are 2 different types of controls. </p>
  
  <ol>
  <li><p>Asp.net controls (red)    </p></li>
  <li><p>Html controls (green)</p></li>
  </ol>
  
  <p>This user control, I have implemented on another page called <strong>Index.aspx</strong></p>
  
  <p><a href="https://i.stack.imgur.com/4t02c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4t02c.png" alt="enter image description here"></a></p>
  
  <p>What I want to do is, whenever I click on the button "Copy button", whatever is in the html controls copy to User control.</p>
  
  <p>On Html controls, I'm using Google Maps API to search addresses.</p>
  
  <p>Even, if I don't implement my user control to another page, I'm not able to copy html controls value to asp.net user controls.</p>
  
  <p>For example, I have one asp:TextBox called <strong>tbStreet</strong> on user control and one Html textbox whose ID is <strong>id=street_name</strong>. I want to copy <strong>street_name</strong>'s value to <strong>tbStreet</strong>.</p>
  
  <p>Asp.net control code</p>
  
  <pre><code> &lt;asp:TextBox ID="tbStreet" runat="server" MaxLength="50" 
   CssClass="inputfield M"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Html control code</p>
  
  <pre><code>&lt;input class="field" id="street_name" name="streetName"
              disabled="true"&gt;&lt;/input&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Button code</p>
  
  <pre><code>protected void btnCopy_Click(object sender, EventArgs e)
      {
  
          string street = Request.Form["street_name"];
  
      }
  </code></pre>
  
  <p>But I don't get any value in variable <strong>street</strong></p>