using (Html.BeginUmbracoForm("MakePayment", "PurchaseSurface", FormMethod.Post))
{
}
And in my PurchaseSurfaceController I have an action method like this
[HttpPost]
public ActionResult MakePayment(ProductsViewModel productobj)
{
}
Everything looks okay to me but when I submit the form it throws an error like this
The view 'MakePayment' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/PurchaseSurface/MakePayment.aspx
~/Views/PurchaseSurface/MakePayment.ascx
~/Views/Shared/MakePayment.aspx
~/Views/Shared/MakePayment.ascx
~/Views/PurchaseSurface/MakePayment.cshtml
~/Views/PurchaseSurface/MakePayment.vbhtml
~/Views/Shared/MakePayment.cshtml
~/Views/Shared/MakePayment.vbhtml
~/Views/MakePayment.cshtml
Can anyone please point out what I am missing here?
BeginUmbracoForm throws error
on my view I have a BeginUmbracoForm like this
And in my
PurchaseSurfaceController
I have an action method like thisEverything looks okay to me but when I submit the form it throws an error like this
Can anyone please point out what I am missing here?
is working on a reply...