This article explains how to generate a TextBox at the runtime with validation in an ASP.NET Web Application.
Look at the following images.
Enter the number in the TextBox and click Create_TextBox and it will generate the TextBox.
Now, TextBoxes are Created.
When you click on “DisplayTextBoxValues” button it will show that Textboxes should not be empty . 
Now, enter the values into the Textboxes and then click the “DisplayTextBoxValues” Button.
Now, the values are displayed from the dynamically created Textboxes.
Here I have created the text boxes using C# in the code behind.
Note: Please let me know if you have any good approach to do this.


jake TanPosted Sep 15, 2016, 6:38 AM EDT
Hi Keertti, I download and run your script(s) and I received a Parser Error: Could not load type 'CreatTextboxDynamically' in <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreatTextboxDynamically.aspx.cs" Inherits="CreatTextboxDynamically" %>
Manas MohapatraPosted Aug 7, 2015, 2:30 AM EDT
Good One
Sibeesh VenuTOP 100Posted Aug 3, 2015, 10:20 PM EDT
Nice Share...
RakeshPosted Mar 17, 2015, 9:22 AM EDT
Keep it up...Nice
Manish Kumar ChoudharyPosted Mar 16, 2015, 11:32 PM EDT
Good one.
Rahul Kumar SaxenaTOP 100Posted Mar 16, 2015, 10:09 PM EDT
Good work...
Khargesh RajputPosted Mar 16, 2015, 9:12 PM EDT
nice