I have an application where there is a central entity and several other auxiliary registers, such as Status, Format, Type, etc. All these auxiliary entities have only 2 fields: Name and Status (Boolean, informing if it is active or not). Since they are very simple entities, I would not like to create a screen for each one. In addition, I would like to allow the user, by registering a registry of the principal entity, to perform maintenance on these auxiliary entities (exclusion, inclusion, editing ...).
However, when I work with PartialViews and forms, I have a problem, because the screen loads again, for backend validations, and when it is returned, the screen is reloaded, losing the state of open manners and everything else. / p>
How to do this kind of maintenance with manners? I would like to have 2 modals open: one for listing and one for editing / insertion.
Form Field with Button for Format CRUD
FormListing
Formwithediting/insertionofFormats
When I click the Create button, on the form within the modal, the screen is redirected and I lose all the state of the main form and modal open.