
February 7th, 2013, 10:06 AM
|
|
Registered User
|
|
Join Date: Aug 2012
Posts: 28
Time spent in forums: 6 h 17 m 46 sec
Reputation Power: 0
|
|
|
Trouble rendering Layout
Hey devs,
Hoping for some direction here. I have created a new MVC called "Shows". (ShowsController, ShowsModel, Index). I have also created a "Create" View inside the Shows Controller which all functions just fine.
The problem is that I cant seem to apply any sort of Layout template to the "Create" page. The error I get is:
The following sections have been defined but have not been rendered for the layout page "~/Views/Shared/_ColumnsTwo.cshtml": "Scripts".
Exception Details: System.Web.HttpException: The following sections have been defined but have not been rendered for the layout page "~/Views/Shared/_ColumnsTwo.cshtml": "Scripts".
Wondering why the layout will render fine on the "index" view but no on the "create" view.
|