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
Hi,
Is there a recommened way or best practices on whether to use Macro (MVC View) vs actal MVC Partial View?
Thanks,
Bilal
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
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
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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
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
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
is working on a reply...