I am working on a page which has 3 jQGrids and i use JSON to bind it. Working on MVC 3 application.
Example, i have a dropdown that shows Department Name list, if i change any department i need to load all the employees under that department in my grid. User edit some records in a grid often.
But the user will never save immediately, they keep editing so many department employees and do a single save.
To persist all the changes till user click global save, i decided to keep all the employee record details in a JSOn format stored in a hidden field. So i load from hidden and bind to grid based on selected department and update local JSON when user update in grid and finally i send the hidden JSON to server.
I am storing 10 fields of 100 employee details JSON data in hidden field and use. I know i am increasing response size and post data size. Question is, will it impact a big problem in performace? or can i store in a session and load from it? Which would be the best way?