Home / Software / Tips and Tricks / How to create dynamic Controls in ASP.Net

How to create dynamic Controls in ASP.Net

Updated:  07/23/2012 11:07 AM
Author:  Shiju Mathews

Status:    Resolved.


It is possible to add controls to an ASP.NET Web Form at runtime. Create an ASP.NET PlaceHolder control as a container for newly added dynamic controls.



Now add a button to the place holder


Now the button's Click event can be handled as