The BasePage type exposes the following members.

Properties

  Name Description
Public property Static member _googleAnalyticsScript
Gets Google Analytics Javascript that is included if account is provided in application settings - user.config file.
Public property AdminToolbarVisible
Defines if the admin toolbar is visible. Set to false when custom non-admin personalization infrastructure is to be implemented.
Public property AjaxifiedPage
Indicates if a master update panel, as defined in UpdatePanel.master, is used on a page for all users regardless of their roles. This update panel catches all postback events and is used if the page should be fully "ajaxified".
Public property AppRelativeCurrentExecutionFilePath
Returns the AppRelativeCurrentExecutionFilePath for a page When URL routing is used (in ASP.NET 3.5 and above), this property does not have to reflect the real page URL (when the URL is rewritten)
Public property AutoGenerateMetaKeywords
Should this page autogenerate META keywords. This is performed initially when a page does not contain any keywords, on subsequent visits the keywords are NOT rewritten.
Public property BaseSiteFullUrl
Gets site full url with machine and protocol.
Public property BaseSiteUrl
Gets site url without the machine and protocol part.
Public property CacheDependencyKeys
Cache dependency keys, separated by semicolons (;).
Public property CacheDuration
Cache duration for page output caching.
Public property ContainsTemplatedParts
Indicates if this page contains templated Web parts.
Public property CurrentLanguageId
Gets current selected language id.
Public property CurrentPersonalizationScope
Returns current personalization scope for this page.
Public property CurrentWebPartManager
Returns the active Web part manager.
Public property CustomAccessRoles
Gets or set custom access roles for current page. Custom access roles are used to explicitly pre-set the access properties on a page, particulary for the admin pages. This way it is not required from a user to set access roles on each of the pages. Access roles that are set from the page administration pane and held in the PageRoles entity collection take precedence over this property, allowing user to redefine the authorization settings and adjust them to his needs.
Public property DefaultLanguageId
Gets default language id.
Protected property DependencyInjectionFactory
Gets or sets the dependency injection factory instance.
Public property EditRoles
Array of Guids that identify the roles which are allowed to change page's appearance.
Public property EditRolesPartially
Array of Guids that identify the roles which are allowed to partially change page's appearance (for example, permissions for a single part are given). Intended to be used internally.
Public property EnableGoogleAnalytics
Gets or sets if google analytics is enabled.
Public property EnablePageOptimization
Defines if the view state optimization should be turned on or off.
Public property ForceAutoGenerateMetaKeywords
Should this page autogenerate META keywords even if they are already generated before (for pages that change frequently and contain dynamic content).
Public property HasUnapprovedChanges
Returns the approval status for this page layout and web parts.
Public property HasUnapprovedDocuments
Returns the approval status for this page's documents.
Public property IsPopup
Public property IsRevisionPage
Returns true if this page is under revision, false othervise.
Public property log
log is used for logging purposes (Errors, Warnings, Messages, etc.)
Public property MobileRedirectUrl
Redirect URL for mobile clients.
Public property MonoXDaAdapter Obsolete.
Main data access object used for data access tasks, based on the LLBLGen data adapter.
Public property OriginalException
Stores the original exception, even if it has been handled by the page and cleared. Can be used to check for the error state of a page.
Public property OutputCacheLocation
Output cache location for page output caching.
Public property PageProperties
Used for page properties retrieval - title, authorized roles, etc.
Protected property PageStatePersister
Page state presister.
(Overrides Page..::..PageStatePersister.)
Public property PersonalizeByRawUrl
Indicates if RawUrl or AbsolutePath is used as a key in the personalization tables.
Protected property RegisteredProviderModules
Gets the list of the registered provider modules.

Note: Used for Rss, Tell a Friend, etc. web controls to register them as modules that implements Rss, Tell a Friend, etc. functionality.

Public property SeoHeader
Page header for SEO operations. Handles situations when the page has a master page, as well as for "standalone" pages.
Public property SlidingExpiration
Sliding expiration for output page cache.
Public property ThemePath
Gets ASP.Net theme path.
Public property ToolboxPanel
Reference to the administrative ajax toolbox panel, used when there is a need to refresh it.
Public property VaryByContentEncoding
Vary by content encoding string for page output caching.
Public property VaryByControl
Vary by control string for page output caching.
Public property VaryByCustom
Vary by custom string for page output caching.
Public property VaryByHeader
Vary by header string for page output caching.
Public property VaryByParam
Vary by param string for page output caching.

See Also