Copied to clipboard

Flag this post as spam?

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


  • Bilal Haidar 144 posts 410 karma points
    Apr 26, 2015 @ 22:47
    Bilal Haidar
    0

    MVC Partial View Macro vs MVC Partial View

    Hi,

    Is there a recommened way or best practices on whether to use Macro (MVC View) vs actal MVC Partial View?

     

    Thanks,

    Bilal

  • Jeavon Leopold 3073 posts 13630 karma points MVP 11x admin c-trib
    Apr 26, 2015 @ 22:50
    Jeavon Leopold
    0

    Hi Bilal,

    I would say generally use a Partial View, the use case for Macro Partial View are either in TinyMCE or the macro picker in the Grid.

    Jeavon

  • Bilal Haidar 144 posts 410 karma points
    Apr 26, 2015 @ 23:00
    Bilal Haidar
    0

    Thanks Jeavon.

    I am still starting my way with Umbraco. I would like to understand the data structure and api for umbraco, any reference?

    Thanks

  • Jeavon Leopold 3073 posts 13630 karma points MVP 11x admin c-trib
    Apr 26, 2015 @ 23:21
    Jeavon Leopold
    100

    For rendering consider it a standard MVC pattern with Views and Partials, for accessing Umbraco data see this documentation and detail on the UmbracoHelper here

Please Sign in or register to post replies

Write your reply to:

Draft