Sunday, May 02, 2010

How to: Create controls in ASP.Net programmatically

I am creating a row of controls dynamically which includes one dropdownlist, 12 textboxes and one checkbox as soon as user clicks on "Add New Row" button.  Textboxes are kept for receiving inputs for the values of 12 months. Here I am taking a panel and then I am adding the newly created table to this panel which serves as a placeholder for the table. Inside the table I am adding these controls. Look the code it is very easy.

Read more: C# Corner

Posted via email from jasper22's posterous