Last post Oct 25, 2017 10:03 AM by komaldparekh
Sep 27, 2017 01:40 PM|ideas1234|LINK
i have a web form where i can create rows dynamically on the web form on click on (+) button at the end of the row and insert all the rows on a click on submit button at once into database table.
Columns on each row on the web form are list of projects he has worked on, start date,end date and then (+) button at the end to add more projects.
Admin login to the web portal, he will select employee from the dropdown and dynamically creates the rows and clicks on submits. so sometimes admin creates few rows and save the web form as draft and later point of time he can add few more rows to the existing
ones and submit the form.
we have the separate screen which show list all the employee id's whose form saves as draft. so when admin click on employee id in this screen, it should go back to the screen where admin adds more rows before submitting.
so i need the solution that if 2 rows are added for one employee and saved as draft then at the later point of time if admin wants to add few more rows, then automatically 2 rows should append on the screen and admin adds additional rows.
so how to achieve this with jquery html table. i am using asp.net mvc framework.
Sep 27, 2017 01:48 PM|mgebhard|LINK
Your question is how to persist data between web pages using only the client browser?
Web Storage API to persist the data in the browser.
If you are asking how to pass data between MVC actions then use either a querystring (data in the URL) or a form post.
Oct 25, 2017 10:03 AM|komaldparekh|LINK
On page load you can check in database if there are some records saved as draft mode. If you get list of records then render it on page and add + button at the end of last record.