1
I’m using a Ajax.BeginForm
to update a specific div on the page. When performing Submit and executing the action, instead of updating this DIV, the page is updated with the partial view returned from Action. I use this same piece of code in another project and this works normally.
I have tried to reimport the javascript libraries to the partial view but still the error persists.
Below is the code snippet from the startup Ajax.BeginForm
.
@using (Ajax.BeginForm("Bar", new AjaxOptions {
HttpMethod = "POST",
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "Foo"
}))
{
// ...
}
@Vinícius How is your JS configuration?
– Leonel Sanches da Silva