<asp:Content ID="Content3" ContentPlaceHolderID="cphMainContent" runat="server"> <div id="content"> <mm:mmPlaceHolder ID="holdResourcesContent" runat="server"> </mm:mmPlaceHolder> </div> </asp:Content>Here is the code behind
protected void Page_Load(object sender, EventArgs e) { // Create the Control ucResourcesLinks linksControl = (ucResourcesLinks)Page.LoadControl("~/ControlsResources/ucResourcesLinks.ascx"); this.holdResourcesContent.Controls.Add(linksControl); }If you are going to swap controls while on the page, let me know and i can show you what I do to make sure the controls don't get strange on you.
>Params_AssCumLtDetail Params = new Params_AssCumLtDetail();
>pnlParams.Controls.Add(Params);
>
>>Label myLabel = new Label ( ); >myLabel.Text = "Sample Label" >pnlParams.Controls.Add ( myLabel ); >>