我有类似的东西
@using (Ajax.BeginForm("Next", "Controll", null, new AjaxOptions() { UpdateTargetId = "updateRegion", InsertionMode = InsertionMode.Replace, HttpMethod = "GET" }))
{
<div id="updateRegion">
@Html.Partial("_callingFromPartial", Model.List[0])
</div>
}
@Html.RadioButtonFor(item => Model.OptionSelected, Model.IdOption, new { id = "select" + Model.IdOption })
<label>@Model.OptionText</label>
<input type="submit" value="Next"/>
[HttpGet]
public ActionResult Next(Bu.Models.ChoiceQuestion itemReturn)
{
CurrentItem = Itens[refe+1];
return PartialView("_callingFromPartial", CurrentItem);
}
但它没有像我想要的那样工作,我正在尝试在#updateRegion 中加载下一个内容,但它显示“找不到资源”。,这有什么问题吗?