Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic TextBox using Repeater. How do I get the Text??

Status
Not open for further replies.

notrut

Programmer
Feb 6, 2002
87
CA
Hi,

I am creating some Textboxes dynamically with a Repeater control with some info from a database. I am able to generate the textboxes, however, I am not able to get the values from those boxes when I hit a submit button. (i.e. I want to update the database with the values in the textboxes)

Any idea on how to do this???

Any help would be greatly appreciated.

Thanks
 
Hi,
Without seeing any code I can only tell you an idea of something to check.

Be sure that when you are creating the Controls you are dynamically assigning new IDs and Names to the controls.

If you are not the controls will not work properly

Just a thought

HTH

Bassguy

 
paste your code where you're trying to access it...usually a .FindControl("controlName) is in order....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top