I have a web application containing both asp.net web forms and mvc views but run into issues with strongly typed models in the view.
This is the page directive from the view:
<%@ Page Inherits="System.Web.Mvc.ViewPage<Survey.Models.SurveyResponse>" Language="C#" MasterPageFile="~/Views/Shared/ExternalSurvey.Master" %>
but within the view i have no access to the Model property.
In the controller i have
return (new Survey.Models.SurveyResponse());
Why do i not have access to the Model property within the view?