简体   繁体   中英

From where @RenderBody() layout is calling in partial _Root.Head.cshtml in nopcommerce 4.00

In nopcommerce, when we start the project at that time in _ColumnOne partial view page RenderBody() layout is calling by _Root partial view page. After in _Root partial view page RenderBody() layout is calling by _Root.Head partial view page. Now, my question is that in _Root.Head where @RenderBody layout is been called?

Flow of nopcommerce flow of top, middle and footer layout of the website

_ViewStart => _Column1 => _Root => _Root.Head

In _ViewStart.cshtml partial page shows the path of _Column1.cshtml.

In _Column1.cshtml partial display the design between **main_column_before** and **main_column_after** and goes path to _Root.cshtml.

In _Root.cshtml shows the **top** and **footer** design of the website and forward to _Root.Head.cshtml.

In _Root.Head.cshtml shows the **middle layout** of the website.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM