View Single Post
  #4 (permalink)  
Old April 3rd, 2009, 08:00 PM
Steve S Steve S is offline
Friend of Wrox
Points: 546, Level: 8
Points: 546, Level: 8 Points: 546, Level: 8 Points: 546, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2009
Location: Portland, OR
Posts: 105
Thanks: 3
Thanked 20 Times in 19 Posts
Default

bottom of page 125:

We can then update the \Views\Dinners\Index.aspx view template to inherit from ViewPage <NerdDinner.Helpers.PaginatedList<Dinner>> instead of ViewPage<IEnumerable<Dinner>>,
and then add the following code to the bottom of our view-template to show or hide next and previous
navigation UI:

This should really be
<NerdDinner.Helpers.PaginatedList<NerdDinner.Models.Dinner>> per the sample code.
The Following User Says Thank You to Steve S For This Useful Post: