O'Reilly logo

ASP.NET MVC 2 Cookbook by Richard Kimber, Andrew Siemer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a master/detail page with modal pop-up and JSON

This recipe is going to be a slight twist on the previous one. Rather than force-feeding our details into the top of our page using a partial view, we will instead display the details in a modal pop-up using JSON and a jQuery plug-in called nyroModal. You will find that two things occur with this method, which are a bit different from our last task. First, the time it takes to display the details after clicking on them is considerably less, as the package of data that is passed is much smaller. Also, there is less processing to be performed on the server-side as the formatting of the data occurs on the client-side, which also adds to the improved performance. Second, the user experience ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required