dinsdag, februari 07, 2006

 

Dynamic Webparts on ASP.NET 2.0

http://msmvps.com/blogs/guilherme/articles/category/1892.aspx

Have you ever wondered how to dynamically add Webparts to your ASP.NET project?
Well, all you have to do is programatically add a DeclarativeCatalogPart control to your page and set it's WebPartsListUserControlPath property to a WebUserControl that has all your Webparts.