Well I have this page
< %@ .............. Inherits="System.Web.Mvc.ViewPage < Something.Models.SomeModel >" %>
< % Html.RenderPartial("SomeControl",Model);% >
and this user control page
< %@ Control Language="C#" Inherits="System.Web.Mvc.ViewPage < Something.Models.SomeModel>"%>
< p>< %: Html.TextBox("text",Model.Name) %>< /p>
and I get this exception
Cannot covert type 'ASP.views_somecontrol_ascx' to 'System.Web.Mvc.ViewUserControl'
Any idea about why this is happenig?