Base solution for your next web application
Open Closed

Pass object parameter to Modal Manager #5093


User avatar
0
strix20 created

We have some modals (partial views) that take complex objects as parameters in their controller. The objects are not stored in the database, so they cannot simply be passed as an ID.

How can we use the modal manager to open a modal when the request needs to be made via ajax post and passed an object as a parameter?


1 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    There is an example in audit logs page. Check ****.Web.Mvc\wwwroot\view-resources\Areas\AppAreaName\Views\AuditLogs\Index.js**line:222