I have this scenario where I need to generate controls dynamically. I am running a website www.UserReviewCenter.com You can start a search from home page, type in some product type like "radar detector". The site will give you list of products matching your search keywords. You can select a product on this page. Next page pulls user reviews that were submitted through the website plus reviews from other 3rd party sites. Now here is the challenging situation for me - there could be n number of reviews so I have to generate one label and one textbox for each review entry. Initially label will be visible and textbox will be hidden. As soon as user clicks on edit I am hiding labels and displaying textboxes. They can click on "Add" to add a new review entry then I am adding a new textbox at the bottom of the table and maintaining a flag to know that this is a new entry. I am using update panel also as you know just to reduce the whole page refresh. I know this could be a bad idea in today's jquery world.
I think this whole technique to display, add, edit user reviews is a little complicated and very fragile. I think using jquery, ajax this could be simplified so I would like to ask all the experts here on this website that what could be the other approaches that I can take to make it robust and clean.
I appreciate your response. -Mandeep.