Author: djheath | Posted on: 1/29/2009 3:33:04 AM | Views : 273

 Hi, hope someone can help.
 I have created a user control called sitesummarycontrol which points to a page "sitesummarycontrol.ascx" - on this page is just some text at the minute.

On the main page I have a asp panel called "sitepanelplaceholder"
 Witin the code behind file, I want to dynamically add a number of panels to this sitepanelplaceholder panel with the contents of each panel showing the code in the sitesummarycontrol.
I have the following code on the main asp page:
 
<%@ Register TagPrefix="uc0" TagName="SiteSummaryControl" src="../Modules/SiteSummaryControl.ascx" %>
<div>

<asp:Panel ID="sitepanelplaceholder" runat="server" >
...

Go to the complete details ...