Hello!
i have view which looks something like this :
<% using (Ajax.BeginForm(new AjaxOptions { UpdateTargetId = "someDiv", HttpMethod = "Post"))
{%>
<%= Ajax.ActionLink("Add new", "AddNewItem", new AjaxOptions { UpdateTargetId = "divAddNewItem", HttpMethod = "Get" })%>
<div id="divAddNewItem">
</div>
<input type="submit" value="Create" />
<% } %>
"AddNewItem" action returns partial view, which is rendered to divAddNewItem, AddNewItem view code looks like this one :
<% using (Ajax.BeginForm(new AjaxOptions { UpdateTargetId = "divAddNewItem", HttpMethod = "Post"))
{%>
<input type="submit" value="Add" />
<% } %>
in this case, after clicking "Add new" button IE will give exception (unknown runtime error), while chrome and firefox will work. i made some research, and it seems like nested form tags causing the problem.
would be glad to hear any possible hint or advice in solving this problem.
Thank You !