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 the current Macro Partial View:
@using UmbracoTestProject.Controllers @inherits Umbraco.Web.Macros.PartialViewMacroPage @model UmbracoTestProject.Model.EmailViewModel <div class="container" style="margin-bottom: 25px; margin-top: 25px;"> @{ using (Html.BeginUmbracoForm<EmailController>("Index", null, new { @class = "form-inline" }, FormMethod.Post)) { @Html.EditorFor(x => Model) <input type="submit" /> } } </div>
And I get the following error: Error loading Partial View script (file: ~/Views/MacroPartials/Email.cshtml)
What is wrong with this View?
Hi Kevin,
Have you seen this documentation about working with BeginUmbracoForm
https://our.umbraco.org/documentation/Reference/Templating/Mvc/forms
Hope this helps,
/Dennis
Hi Dennis,
I have - that's where the posted snippet came from. I was following the documentation.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using BeginUmbracoForm
I have the current Macro Partial View:
And I get the following error: Error loading Partial View script (file: ~/Views/MacroPartials/Email.cshtml)
What is wrong with this View?
Hi Kevin,
Have you seen this documentation about working with BeginUmbracoForm
https://our.umbraco.org/documentation/Reference/Templating/Mvc/forms
Hope this helps,
/Dennis
Hi Dennis,
I have - that's where the posted snippet came from. I was following the documentation.
is working on a reply...