Tuesday, July 3, 2012

Overview of Pages

Pages are the building blocks of the application, and host instances of data controllers (Data Views) and custom user controls (Controls).

Page Properties:

Property Description
About This Page Defines the text displayed in the “About This Page” box on the page itself.
Custom Style Specifies an optional list of space-separated custom CSS classes to be applied to the page.
Description Specifies the tooltip on the navigation menu.
External Url Defines an arbitrary uniform resource locater. If specified, then no physical application page is created. Optional.
Index Specifies the order of the page in the application navigation hierarchy. The order of pages can be changed by using drag and drop in the Project Explorer.
Master Page Specifies a custom master page.
Name Specifies the name of the physical page created by the application generator.
Path Specifies where the page is positioned in the hierarchy. The Path segment can be changed by using drag and drop in the Project Explorer. The page can be excluded from the menu by clearing the Path property.
Roles Specifies which user roles are permitted to access the page.
Style Specifies the standard CSS class applied to the page. The standard stylesheets are configured to change the icon displayed in the top left corner of the page.
Title Specifies the title of the page displayed in the browser title bar or tab.

Learn to work with pages in the Project Designer.

Learn to drag and drop pages in the Project Explorer.

Common tasks:

Task Description
Extending Pages Learn to extend generated pages with custom content without losing changes after subsequent code generation.
Configuring Master-Detail Relationships Learn to configure a master-detail page with multiple levels.
Grouping Data Views in the Same Container Learn to hide child data views when the master data view becomes invisible.
Custom Master Page Learn how to replace the standard master page with a custom master page.
Creating a Form Template Learn to add custom templates to pages to affect rendering of form views.
Creating a Grid Template Learn to add custom templates to pages to affect rendering of grid views.

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com