I have partial views loaded at runtime based on user input.
$("#Categories").change(function () { $.ajax({ url: "/Product/Create" + $("#Categories option:selected").text().replace(/\s+/, ""), type: "Get" }).done(function (partialViewResult) { $("#partialDiv").html(partialViewResult); }); });
POCOs that are used in the view model are decorated with data annotations, but they do not start.
Partial views contain a form (Html.BeginForm ()).
I think I'm doing something wrong, but I donβt know what. Any advice was greatly appreciated.
asp.net-mvc-5
user3907267 Aug 12 '14 at 7:40 2014-08-12 07:40
source share