Hi this may seem like a weird question, but here's my situation:
I have a form where the user can click and add rows which contain certain input fields. This is strictly done on client side using JQuery. I can access the input values on postback on asp.net side using Request.Form and the name of the fields, which is fine. The problem is when the page posts back, the fields obviously disappear. So I have no way of doing error validation or other stuff. What are my possible solutions here? Should I dynamically generate the corresponding fields on server side when postback happens and put the already read in values from the client side generated fields so that it's transparent to users? Is that a round about way of doing things? Is there a better way?
I was thinking of adding an ajax method on the server side which would return back validation info and I could use that to signal errors or what not on client side without ever posting back, but the button that causes the post back is the "next" button, and I need it to go to the next page if there are no errors.
I'm looking for any more insights someone might have and pros and cons of the approaches.
Thanks