I am trying to create a browse page in my asp.net-mvc application. For this, I have a strongly typed view, and I also have the MVCPage class.
For some reason, when I load the page, it says that it cannot load the type:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Line 2: Inherits="Blah.MyViewPage<Blah.ViewDataForBLahPage>" %>
public class MyViewPage<TViewData> : ViewPage<TViewData> where TViewData : class
public class ViewDataForBlahPage : MyViewData
source
share