Creating Dynamic Controls using ASP.NET 2.0 and C# .NET

India
February 8, 2008 8:37pm CST
In some development situations you may not know how many controls you need ahead of time. In these cases it is easier to dynamically create web controls in a container control(such as a Panel) on your form while your application is running. To do this we do not need to be using any special namespaces, however one implication of creating dynamic controls is that the dynamic controls you create are not preserved after postbacks so you will need some mechanism to remember the controls they have created dynamically. Read more on how to do this at http://www.123aspx.com/redir.aspx?res=35666
1 person likes this
1 response
@mnsrwt123 (2057)
• India
1 Apr 08
Ohh, my dear friend first of all thanks a lot for starting this valuable discussion here, and thanks for the link. Although i also wanted to know some thing about dynamic pages and can we implement it on our web page by using JAVA and AJAX scripting...???