Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
Sites and Pages
 Application _layouts Page Type

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Application _layouts Page Type

Application pages, which are also known as "_layouts" pages, are stored in a site's Microsoft Internet Information Services (IIS) virtual directory and support application implementations. Application pages include pages with names such as create.aspx, settings.aspx, and other similar _layouts pages

NoteNote:

The concept of "layout pages" in Microsoft Office SharePoint Server 2007 is different from the Windows SharePoint Services 3.0 _layouts page type.

These pages are stored in the virtual directory for the SharePoint Web application. The _layouts directory is also virtualized as a subfolder of every SharePoint site, and is exposed in a site collection or subsite, for example, http://MyServer/_layouts/Mysite.aspx or http://MyServer/a/b/c/_layouts/Mysite.aspx.

By default, the _layouts folder is installed in the path C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\Layouts.

Note   When you create hard-coded URLs to custom pages that you place within the LAYOUTS directory, specify paths that use the root Web site of the site collection, but that do not include subsites within the path. For example, use /_layouts/pages/MyPage.aspx, not /MySubsite/_layouts/pages/MyPage.aspx. Specifying a subsite in the path prevents the page from being accessed.

Differences Between Application Pages and Content Pages

Application pages are processed differently from content pages, as follows:

  • Application pages are not subject to the same restrictions as content pages about where custom code is allowed. In fact, application pages behave much like all other ASPX pages.

  • Application pages, unlike content pages, cannot host SharePoint features such as dynamic Web Parts and Web Part Zones.

For more information, see Content Page Type.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker