trying to create a asp.net mvc viewpage w/o codebehind page
- by mrblah
Hi,
Trying to create a view page in my asp.net-mvc app.
I have a strongly typed view, and I have also ovverriden the MVCPage class also.
For some reason when I load the page it says it can't 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