RazorTemplates icon indicating copy to clipboard operation
RazorTemplates copied to clipboard

Layouts

Open javiertg opened this issue 12 years ago • 4 comments

How can i use Layouts? I try to use @{ Layout = "_Layout.cshtml"; } and fail the compliter. The Layout name not found.

javiertg avatar Apr 19 '13 09:04 javiertg

Hi, javiertg.

How do you suppose to use it? Would you give us an example?

alxbog avatar Apr 19 '13 09:04 alxbog

my idea is to use it in a conventional MVC3/4-like way. I am looking for a base template (Layout) where render the content of my pantillas (someting like a Master.Page and a .aspx page liked to that master) at @RenderBody() project similar to RazorMachine

javiertg avatar Apr 19 '13 09:04 javiertg

I would like to vote for this feature

ewgenym avatar Apr 25 '13 11:04 ewgenym

Hi, javiertg and ewgenym, I will try investigate this feature and implement it when will have some time for RazorTemplate.

volkovku avatar Apr 26 '13 11:04 volkovku