'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginUmbracoForm'
When I try to use BeginUmbracoForm my razor view cant figure it out. Do I need to reference something?
I tried @using Umbraco.Web
and the gives me:
'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginUmbracoForm' and the best extension method overload 'Umbraco.Web.HtmlHelperRenderExtensions.BeginUmbracoForm(System.Web.Mvc.HtmlHelper, string, string)' has some invalid arguments
'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginUmbracoForm'
When I try to use BeginUmbracoForm my razor view cant figure it out. Do I need to reference something?
I tried @using Umbraco.Web
and the gives me:
'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginUmbracoForm' and the best extension method overload 'Umbraco.Web.HtmlHelperRenderExtensions.BeginUmbracoForm(System.Web.Mvc.HtmlHelper, string, string)' has some invalid arguments
My line looks like this:
It seems my problem was that I placed it in "macroscripts" instead of "views/MacroPartials"
Yes that would do it.
is working on a reply...