Home / Software / Tips and Tricks / Adding dynamic links to an ASP.NET WebForm at runtime

Adding dynamic links to an ASP.NET WebForm at runtime

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

Status:    Resolved.


It is possible to crate Adding controls to an ASP.NET WebForm at runtime. <a>, LiteralControl tags are very simple to manage.

Create an ASP.NET PlaceHolder as a container for the dynamic controls.


Now add the code to create the Dynaic controls in the code behind or in the server script area. HereI am loop through a DataTable