Author: sali1982 | Posted on: 1/27/2009 8:27:12 AM | Views : 275

 Dear All,
 
I have a loop and I create dynamicly several textboxs, depends on how many txtboxs it is needed, which numbers and ID s of textboxs are saved in DB, for different usage,
 
I can create it symply by this method:
http://support.microsoft.com/kb/317794
 
The problem is, when I use this method, to retrive the texts in the textboxs,  this error happens:
 Multiple controls with the same ID ' ' were found. FindControl requires that controls have unique IDs.
 
however, I am sure  it is unique!
 
if I do not use the loop, and generate specific number of textboxs, the method I mentioned works fine!   but there is no point if we know the number of textboxs and their name before!   
 
is there anyone knows how I can create undefined textboxs with a loop, and their names can be read  from somewhere else?
  ...

Go to the complete details ...