Developer Guide
aspx:AspxPage

    Using an AspxPage as the main component of a view provides the following benefits:

    • Allows you to specify a "Description", which results in a description meta tag on the page
    • Allows you to specify "Keywords", which result in a keywords meta tag on the page
    • Allows you to set a "Title", which results in updating the title tag of the page
    • Provides an ability to customize the favicon of your page
    • Provides two areas- header and body- where you can add any additional HTML items to include in the HTML page's head or body
     
    Note: Use this component only on pages that make up the entire page; do not use it on partial pages/widgets.
    <aspx:AspxPage runat='server' title='Contact Us' description='my page description'>
       <header>
          <!-- head content -->
       </header>
       <body>
         <!-- body content -->
       </body>
    </aspx:AspxPage>

     

    Aspx Page Attributes are:
    1. Title
    2. Description
    3. Keywords
    4. FavIcon
    5. PageImage

     

    Referencing Assets and Resources on Active Page

    You can reference custom Javascript libraries, fonts, CSS files or other web-enabled embded resources within the AspxPage component.

    <aspx:AspxPage runat='server' title='Contact Us' description='my page description'>
       <header>
          <aspx:IncludeScript runat='server' url='<%# Url.Asset("scripts/myjs.js") %>'/>
          <aspx:IncludeStyleSheet runat='server' url='<%# Url.Asset("themes/theme1/blue.css)%>'/>
          <link href="//fonts.googleapis.com/css?family=Oswald:300,400,700" rel="stylesheet" type="text/css">
       </header>
       <body>
         <!-- body content -->
       </body>
    </aspx:AspxPage>