In this recipe, we are going to look at a method for creating a master/detail page scenario. We will use a partial view to provide us with the formatting of the details. Then we will use a bit of jQuery to do the fetching of that partial view, as well as placing it into the page for us.
This recipe will follow the other recipes in this chapter, in that it will be using the
ProductRepository classes to provide us with some data to work with, using NBuilder to generate some data for us. You can grab the
ProductRepository class as well as NBuilder from the previous recipes in this chapter.