【发布时间】:2014-01-07 11:54:38
【问题描述】:
有一次我需要返回 IndexParty 模型。接下来我需要将 IndexPerson 模型返回到视图。
public Tuple<IndexParty> GetTuple(){
var tuple = new Tuple<IndexParty>(model);
return tuple;
}
我的 .cshtml 类在这里
@model Mymodel
<div class="hide partial-view" id="partyrelationship">
@Html.Partial("../Party/Index", Mymodel)
</div>
然后我想加载为部分视图。我该怎么做?
【问题讨论】:
标签: asp.net-mvc asp.net-mvc-4 asp.net-mvc-partialview