Yes, RenderBody should be included on every layout page, regardless the nesting.
@RenderBody works as a placeholder for the engine to know where to drop the content of the view using the layout page.http://stackoverflow.com/questions/18323268/renderbody-and-rendersection-must-be-on-every-child-layout |
Wednesday, June 24, 2015
@RenderBody is a must in _Layout.cshtml otherwise error is thrown : The "RenderBody" method has not been called for layout page "~/Views/Shared/_Layout.cshtml".
Subscribe to:
Post Comments (Atom)
Spring Boot Interceptors vs .NET Action Filters
Spring Boot Interceptors and .NET Action Filters are highly equivalent in terms of purpose, design, and behavior. Both allow you to ru...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...
-
CONCLUSION : 1. Normally, use following two when you do not want query compilation also to come into picture. CHECKPOINT DBCC DROPCLEA...
-
Most of the Google tutorials on Keras do not show how to display a confusion matrix for the solution. A confusion matrix can ...
No comments:
Post a Comment