Posted on: 2/16/2015 5:19:42 PM | Views : 513

Hi,
   I have a Default.aspx page and in that I have a Person.ascx page. I have two controls in my .ascx page (txtName and txtAddress - HTML controls). I have a button in my .aspx page and on click of that button, am trying to update hte user control object, but hte value is not getting updated.

Person.ascx 
<p> Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input id="txtName" type="text" /></p> <p> Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input id="txtAddress" type="text" /></p> Default.aspx 
Registered with hte follwing line. <%@ Register TagPrefix="Person" TagName="Person" Src="Person.ascx" %> <script type="text/javascript"> function ChangeText() { document.for ...

Go to the complete details ...