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);
}
Last modified by Mohit @ 4/4/2025 8:29:10 AM