Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Control ctl = this.LoadControl("usercontrol.ascx");
ctl.ID = "ctl" + i.ToString();
Panel1.Controls.Add(ctl);
No comments:
Post a Comment