how to load multiple content placeholders with user controls from server side using C#..
currently from serverside(in page_load) i am loading one usercontrol like this:
ContentPlaceHolder cph = this.Master.FindControl("TopContentPlaceHolder") as ContentPlaceHolder;
UserControl uc = this.LoadControl("~/webusercontrols/topmenu.ascx") as UserControl;
if ((cph != null) && (uc != null))
{
cph.Controls.Add(uc);
}
I need to load 8 usercontrols in my page. How can i achieve the same? Thanks in advance..