Everything works as expected and the action returns a partial view (called Features to the features div with the correct Model which is a dataset).
In other situations where I faced the same problem (the partial view not being reloaded), the cause was that I was using the BeginForm with the correct parameters in the wrong place, but in this case I can't find out what's wrong.
Here it is (in this case, the action Create is in a different controller (Feature), so I need to specify it. Please help.
// Create new feature
using (Ajax.BeginForm("Create", "Feature", null , new AjaxOptions { UpdateTargetId = "features", LoadingElementId = "loading-features" }, new { style = "display:inline" }))
{ %>
<input type="text" name="Name" value="" />
<input type="hidden" name="LanguageId" value="<%= language %>" />
<input type="hidden" name="CategoryId" value="<%= categoryId %>" />
<input type="submit" value="<%= CultureHelper.GetText("NewFeature") %>" />
<% }
What do you think?