I'm new to this world.
As you can see in the picture. This is my Default.aspx page where I have implemented a Web User Control(uc) called "adress.ascx".
My uc control is divided in 2 categories, first is Asp.net controls category and second is Html Controls category.
What is the scenario: I want to copy the value from Html Textbox to Asp:TextBox.
I have 2 options, either I can do with asp:Button or with html button(without runat="server")
Here is my code
<h1>ASP.NET Controls</h1>
<br />
<asp:Label runat="server" Text="Street"></asp:Label>
<asp:TextBox runat="server" ID="tbStreet" Text=""></asp:TextBox><br /><br />
<asp:Button ID="btnAsp" Text="Button ASP" runat="server"
OnClick="btnAsp_Click"
/>
<h2>-------------------------------</h2>
<h1>Html Controls</h1>
Street
<input type="text" name="Street" id="street"><br />
<br />
<button type="button" id="btnStreet">Button HTML!</button>
And here is my code "code behind" in c#
protected void btnAsp_Click(object sender, EventArgs e)
{
string value = Request.Form["street"];
}


name="street"on youasp:TextBox?formcontrol on the page?type="submit"to theasp:buttonand read the values in the method the action of the form is set to.