Create Instances of ASP.Net User Controls Programmatically
Example of how to create ASP.Net user control programmatically.
private ASP.Spinner Spinner1 protected void Page_Load(object sender, EventArgs e) { Spinner1 = (ASP.Spinner)LoadControl("~/Controls/Spinner.ascx"); PlaceHolder1.Controls.Add(Spinner1); }