This question is for someone who has read Professional ASP.NET MVC 1.0 (Scott Gu..) Chapter 7 AJAX. On page 286 they list the contents of the partial but do not show how to type it as IList
So at the top of the partial view like this:<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IList<MyCustomClass>>" %>
Danny
2009-06-12 16:44:06
If you do it this way remember to put System.Collections.Generic in the namespaces section of your web.config. Or you could type it all out Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.IList<MyCustomClass>>"
David Liddle
2009-06-12 16:53:37