Last post Feb 23, 2018 02:04 PM by mgebhard
Feb 23, 2018 06:18 AM|mark-1961|LINK
I have an edit form that launches in a modal and on submission of this form i want to inform the user of any items chosen that could not be updated.
These items will be captured in the controller action if they are not able to be updated. Will be added to a property on my model.
So from this information in my controller what is my best approach to inform the user of these once the modal is submitted and closes?
Feb 23, 2018 02:04 PM|mgebhard|LINK
If you are doing an AJAX POST, then return the data you want displayed and update the DOM in the AJAX response handler.
If this is a full POST then simply craft the View to add whatever HTML you like.