I have a View with a backbone that shows a list of items and I have another View that I use to edit each item.
The problem is that each View is in a different HTML and when I try to edit I can't pass the values from the listing View to the editing View because it postbacks and the values are lost.
Does anyone know of a way to pass values from one View to another (between pages) without having to do a SPA ?
Well so far the only option I found was to store in the
SessionStorage
or pass through URL the necessary values to retrieve the data again after thepostback
.If anyone has a better option please comment.