I have the following in my view
我认为我有以下几点
@using (Ajax.BeginForm("Search", "Home", null,
new AjaxOptions
{
InsertionMode = InsertionMode.Replace,
HttpMethod = "POST",
UpdateTargetId = "gridContent",
}, new { @class = "search" }))
{
<input type="submit" value="Search" />
}
<div id="gridContent">
</div>
@