Posted on: 9/10/2013 3:27:48 PM | Views : 612

Hello everybody,
I recently run into a situation for which I couldn't find a solution.
I have created ten User Controls and I am supposed to change bettween them according to what the user has selected in a multiple selection. I have to say that they are replaced in a master page from the content pages. They are registered in the content pages and filled in the content place holder statically.
f.e.
<%@ Register TagPrefix="mycontr" TagName="DefaultMenu" Src="DefaultMenu.ascx" %> <asp:Content ID="MenuContent" ContentPlaceHolderID="MenuContentPlaceHolder" Runat="Server"> <mycontr:DefaultMenu ID="DefaultMenuContent" runat="server" /> </asp:Content>  
How can I do that? Is there a way so I can register each User Control I need dynamically and place it in the asp:content ?
&n ...

Go to the complete details ...