I'm new to this world. Let me explain you by photos.
Here is the first photo, I have a user control called "Adress.ascx" and on this page there are 2 different types of controls.
Asp.net controls (red)
Html controls (green)
This user control, I have implemented on another page called Index.aspx
What I want to do is, whenever I click on the button "Copy button", whatever is in the html controls copy to User control.
On Html controls, I'm using Google Maps API to search addresses.
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.
For example, I have one asp:TextBox called tbStreet on user control and one Html textbox whose ID is id=street_name. I want to copy street_name's value to tbStreet.
Asp.net control code
<asp:TextBox ID="tbStreet" runat="server" MaxLength="50"
CssClass="inputfield M"></asp:TextBox></td>
Html control code
<input class="field" id="street_name" name="streetName"
disabled="true"></input></td>
Button code
protected void btnCopy_Click(object sender, EventArgs e)
{
string street = Request.Form["street_name"];
}
But I don't get any value in variable street
