Dynamic Controls with ASP.NET
Hello all,
Migrating an existing site from classic to .net. This site allows a customer to pay their account, and each customer may have many accounts. The site presents two static tables, consisting of their demographic info and text boxes for credit card info. Below this, I dynamically build a table consisting of each account belonging to that customer. They have the ability to break their payment up and apply it to their account as they wish.
Account: 1234 | Apply: (txtBox1) | (btn1 = clears txtBox1)
Account: 1235 | Apply: (txtBox2) | (btn2 = clears txtBox2)
etc.
Since these are dynamic controls, I'm having an issue saving the value of each text box on post back. I'm also having an issue with the buttons, and writing the method to clear out the corresponding text box when clicked.
Any ideas, or can any steer me in the right direction?
|