Is it was possible to test for the existence of a supplied content section when using the RenderSection helper in ASP.NET MVC 3?
For example:
@RenderSection("RightCrumbContentArea", required: false)
If the above isn’t supplied, I wish to generate some other content.
It is possible as far as I know.
Try the following code :