hi experts
i want sample application or code for dynamically adding the user controls to my DeclarativeCatalogPart....
my implementtion goes like this
declarativeCatalogPart i am placing my wepparts templates satically :
sample code is
<ZoneTemplate>
<asp:DeclarativeCatalogPart ID="Exposure" runat="server" Title="Party Exposure" ChromeType="titleOnly"><WebPartsTemplate>
<EC:CptyExposure ID="TopExposure" runat="server" Title = "Top 10 Party Exposure" />
<EC:CptyLimit ID="TopLimit" runat="server" Title="Top 10 Party Limit" />
<EC:ExpLimitRating ID="ExposureByLimitRating" runat="server" Title="Exposure By Limit Rating" /><EC:ExpCountry ID="ExposureByCountry" runat="server" Title="Exposure By Country" /> <EC:ExpIndustryCode ID ="ExposureByIndustryCode" runat ="server" title="Exposure By Industory Code" />
</WebPartsTemplate>
</asp:DeclarativeCatalogPart>
but my requirement is
i need to add WebpartsTemplates dynamically ( the list will be get from data base).
Thanks & Regards
Shiva.
Shiv