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 got an inline razor script in my template. This inline script should call a scripting file.
So basicly is I have the template:
...<umbraco:Macro runat="server" language="cshtml"> ... @RenderPage("list.cshtml");</umbraco:Macro>...
and an empty scriptfile (to minimize error possibilities)This gives the error:
try this one:
And put file(list.cshtml) into macroscripts folder
Great :-) I indeed needed to put the path to the file in there. Is it me but shouldn't that be resolved by umbraco?
I think the reason is you use inline razor macro. all the inline macro(razor) will store in the ~/App_Data/TEMP/Razor. So the engine will treat this folder as default folder.
If you use a normal macro(Not inline), and you don't need to point out the file path.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted