AI OnAI Off
Check that you have added the namespace in /views/web.config (or have a @using statement in your .cshtml)
..... <system.web.webPages.razor> <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <pages pageBaseType="System.Web.Mvc.WebViewPage"> <namespaces> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="EPiServer.Web.Mvc.Html" /> <add namespace="EPiServer.Shell.Web.Mvc.Html" /> </namespaces> </pages> </system.web.webPages.razor> .....
The PropertyFor extension method in in EPiServer.Web.Mvc.Html
yes. When I added the reference inside View->Web.config it worked. Thank you
Hi,
I am unable to refer