I need to add dynamic controls in my asp.net web application?
Can any one help
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
TerryPosted Apr 1, 2015, 12:12 PM
You can add any control dynamically thru Code-Behind. In this example, I am showing to add a TableRow to a Table that already exists in the aspx.
In aspx I have :
Here I am adding an Image control in the TableRow. Similarly, you can add and control and any number of TableCell & TableRows.
Hope this helps you.
Usha RajPosted Mar 31, 2015, 5:42 AM
Please check the below links
http://www.dotnettips4u.com/2013/03/dynamically-creating-text-boxes-using-c.html
http://www.codeproject.com/Articles/20714/Dynamic-ASP-NET-control-creation-using-C
http://geekswithblogs.net/dotNETvinz/archive/2009/03/17/dynamically-adding-textbox-control-to-aspnet-table.aspx