public partial class UserControl_ContactDetails : System.Web.UI.UserControl
protected void Page_Load(object sender, EventArgs e)
//Retain the state of controls
txtAddress1.Text = Request.Form[txtAddress1.UniqueID];
txtAddress2.Text = Request.Form[txtAddress2.UniqueID];
txtCity.Text = Request.Form[txtCity.UniqueID];
txtFirstName.Text = Request.Form[txtFirstName.UniqueID];
txtLastName.Text = Request.Form[txtLastName.UniqueID];
txtZip.Text = Request.Form[txtZip.UniqueID];
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.