控制器應返回查看指數區間Z,並在頁面是否可以從控制器導航到部分?
控制器不上頭:
ActionResult Action()
{
return View("Index#Y"); // How to return to section Z of Index
}
視圖索引有3個部分
查看:
</section>
<section id="Y" >
</section>
<section id="Z" >
@Html.Action("Submit","Action","Controller")
</section>