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
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Andrei RineaPosted Jun 3, 2007, 10:13 AM
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.