If you do not store them in a list, but this list is in a session, you will have many problems.
The Ghyath path is the right path, but you must also add them to the list.
List<Object> Usercontrols = new List<Objects>{}; Control ctrl = Page.LoadControl("UserControlPath"); Usercontrols.Add(ctrl); Session["Usercontrols"] = Usercontrols;
With every callback, you need to reload the div using the controls in your list. Edit: I fixed the last line.
Pabuc
source share