Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have an issue with submit a form in partial view. Other forms are submit at the same time.
Controller:
[HttpPost, ValidateInput(false)] public ActionResult RenderShppingCart(Order model) { if (ModelState.IsValid && model != null) { if (User.Identity.Name == null || User.Identity.Name == "") { ModelState.AddModelError("", "Please login first!."); return CurrentUmbracoPage(); }
in partial view
@using (Html.BeginUmbracoForm<ProductController>("RenderShppingCart", FormMethod.Post, new { id = "shippingform" }))
{ Checkout }
other partial view
@using (Html.BeginUmbracoForm<SiteAccountController>("RenderLogin", FormMethod.Post, new { id = "loginform" })) { @Html.AntiForgeryToken() @Html.ValidationSummary(true, "", new { @class = "text-danger" })
Log in }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Multiform Partial view submit
I have an issue with submit a form in partial view. Other forms are submit at the same time.
Controller:
{ }
other partial view
}
is working on a reply...