i have an asp.net mvc view where the top of the page is a table. What i want is to click on a row in the table which will go to the server and get back details on that table. This is working fine and i am returning the details in Json.
The issue is i know want to show a details panel below. Right now i have the details pane all complete in a partial view.
How would i "hook this up" using jquery so when i click on the row, the details pane shows up with the correct model data filled out.
- Do i ditch the json and simply generate html in my controller action and return html to the view to display the details pane ?
- Other best practices or suggestions here ?