Hi, I am working on migrating from 7 to 8 and have a Document Type called Standard that has a simple chtml template. For some reason I cannot use the CachedPartial anymore and I get an error when using this line of code:
@Html.CachedPartial("Footer-JS", Model, 3600)
Error message:
HtmlHelper< Standard > does not contain a definition for CachedPartial and no accessible extension method CachedPartial accepting a first argument of type HtmlHelper
Html.CachedPartial on Umbraco 8
Hi, I am working on migrating from 7 to 8 and have a Document Type called Standard that has a simple chtml template. For some reason I cannot use the CachedPartial anymore and I get an error when using this line of code:
@Html.CachedPartial("Footer-JS", Model, 3600)
Error message:
HtmlHelper< Standard > does not contain a definition for CachedPartial and no accessible extension method CachedPartial accepting a first argument of type HtmlHelper
I suspect it is something very simple I am missing. I did see this post but that didn't work: https://our.umbraco.com/forum/umbraco-8/96795-cachedpartial-with-v8
Thank you for any help! genc
I managed to get somewhere. For some strange reasion the web.config in the ~/Views folder was empty.
is working on a reply...