I can\'t use the following namespace PagedList
to use razor
@model PagedList.IPagedList
in the topmost of view In
I just found this question because I was having the same problem. I have read through many tutorials suggesting the use of this PagedList object, but none of them said anything about adding anything to the web.config file. This is what I did in order to make this work. I used some of the info from the comment from @BuildStarted. I am using VS2010.
Add this to the web.config file:
So it should look like this (snipped):
** **