Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • aven 5 posts 26 karma points
    Jul 05, 2013 @ 10:27
    aven
    1

    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

  • Kevin Jump 1867 posts 11859 karma points MVP 4x c-trib
    Jul 06, 2013 @ 00:43
    Kevin Jump
    1

    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

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies