I have an ASP.NET gridview I want to manipulate using JavaScript/JQuery. The problem I THINK I’m going to have with my approach is that the server won’t have any knowledge of the rows that I am appending via gridview since the html representation of the gridview control is coupled with the object model that lives on the server. So here is what I need to do:
I need to append to the gridview when a user submits data, and submit each row in the batch of entered data to the server to be processed. Because I have other ASP.NET controls that will contain data that I want to submit, I’d like to submit all that data via a traditional postback to the server.
- How do I implement this approach if possible?
- If not possible, could you please explain?
Thank you very much for your help.
Make sure to unescape the query string in your aspx page, and then break it up by the delimiters you’re using. I used ‘&’ to separate key/value and commas between variables (inputs).