2
Vote

Feature: Create Page Layouts with Code Behind

description

This would be a nice feature. At the moment (in the RC at least) I can't see a way to create a Page Layout.
 
Ideally this should come with a bolted in Code Behind file (another thing that I can't find a way of doing easily without creating an Application Page, changing the markup and base class and copying it elsewhere in the project!)
 
As a Page Layout "phase 2" some optional "nice to haves" would be:
 
 
Link to Content Type
Add to module
 
Automatically create module with a URL pointing to "_catalog/masterpage"
Generate default properties in the <File> tag
If linked to Content Type, automatically add in the required property attributes for AssociatedContentType
Allow selection of preview image?

comments

johnhomes wrote Oct 4, 2014 at 4:26 AM

I can't find a way of doing easily without creating an Application Page, changing the markup and base class and copying it elsewhere in the project.