asp.net mvc 4 - Can I Write Two Partial Models In Single View -
i want add 2 partial models in 1 view
because want add fields of mstdepartmentmaster on view of mstcitymaster
<%@ page language="c#" inherits="system.web.mvc.viewpage<auto_increment.models.mstcitymaster>" %> <%@ page language="c#" inherits="system.web.mvc.viewpage<auto_increment.models.mstdepartmentmaster>" %>
it's not possible inherit single view multiple different classes.
if use 2 partial in view can use both different class in different partials , use them in view.
Comments
Post a Comment