Posted on: 2/18/2015 5:15:23 PM | Views : 476

so far i am successful making multiple html texboxes dynamically using a c# button but now i want to get the id's of those textboxes in codebehind(c#) in order to get their data and save it in the database. if i get a hint to get id's of textboxes then insertion in database is easy.
when i use the page inspector it shows me the id and if i want to get the id's of the textboxes using for loop or manually it does not return any data.
so far for adding textboxes i am using:
<script type="text/javascript"> var counter = 0; function AddFileUpload() { var div = document.createElement('DIV'); div.innerHTML = 'File Name: <input id="_txtFileName' + counter + '" type="text" />' + 'File Path: <input id="_txtFilePath' + counter + '" type="text" />' + '&l ...

Go to the complete details ...