Below one is my UI View Page:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcApplication1.Models.Person>" %>
Now, I am adding the User control , which use Register Model for displaying content.
<asp:Content ID="Content3" ContentPlaceHolderID="MyControl" runat="server">
<%Html.RenderPartial("RegisterControl"); %>
</asp:Content>
I am getting error:
The model item passed into the dictionary is of type 'MvcApplication1.Models.Person', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[MvcApplication1.Models.RegisterModels]'.
Please help me here...what I need to do ...??