How we can add Web Server Controls to a PlaceHolder control at run time
This article explains you, the method for adding Web Server Controls to a PlaceHolder Control.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: How we can add Web Server Controls to a PlaceHolder control at run time


Andrei RineaPosted Jun 3, 2007, 6:13 AM EDT
Don't add dynamic controls in Page_Load. They will not receive the ViewState back. Because this is given back between Page_Init and Page_Load. Put them in Page_Init.