how MVC 4 Bootstrap Modal Edit Detail
Hoping someone might be able to help me with something I am experimenting with in MVC 4 using bootstrap.
I have a strongly-typed index view which displays items in a table along with edit and delete action icons in each line.
The EquipmentClass controller returns the Edit view for the selected item based on the id. All great and as expected at this point
What I would like to know is how to open the edit form in a bootstrap modal dialog.
I could try and substitute the edit action in the table with the following and then have a modal div at the bottom of the view but how do I pass in the ID of the selected item and which html helper should I use in the modal section?
I’d greatly appreciate any advice, many thanks