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
Hello folks, as the headline says:
What is the difference between "Scripting Files" and "Partial View Macro Files"?
When do I use scripting files and when do I have to use partial view macro files? Cant seem to find any information on this matter.
Kind regards,aven
When using MVC with umbraco very little - scripting files can be refrerenced via Macros. which means you can control some setting such as caching.
Partial view macros can be easily included in your templates i.e
@Html.Partial("Navigation")
@Html.Partial(
"Navigation"
)
for info on MVC this blog post is a good place to start http://umbraco.com/follow-us/blog-archive/2012/10/30/getting-started-with-mvc-in-umbraco-410.aspx
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Difference between "Scripting Files" and "Partial View Macro Files"?
Hello folks, as the headline says:
What is the difference between "Scripting Files" and "Partial View Macro Files"?
When do I use scripting files and when do I have to use partial view macro files? Cant seem to find any information on this matter.
Kind regards,
aven
When using MVC with umbraco very little - scripting files can be refrerenced via Macros. which means you can control some setting such as caching.
Partial view macros can be easily included in your templates i.e
@Html.Partial(
"Navigation"
)
for info on MVC this blog post is a good place to start http://umbraco.com/follow-us/blog-archive/2012/10/30/getting-started-with-mvc-in-umbraco-410.aspx
is working on a reply...