trying to create a asp.net mvc viewpage w/o codebehind page

Posted by mrblah on Stack Overflow See other posts from Stack Overflow or by mrblah
Published on 2009-06-28T03:53:09Z Indexed on 2010/05/29 18:02 UTC
Read the original article Hit count: 402

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc