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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Usha Raj145 reputationPosted Mar 31, 2015, 1:42 AM EDT
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
Terry146 reputationPosted Apr 1, 2015, 8:12 AM EDT
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.