The BasePage type exposes the following members.

Methods

  Name Description
Public method AddAjaxStartupScript
Ads Ajax startup javascripts that are then executed from PreRender.
Protected method AllowAccess
Used to determine if current uset has access to requested page.
Public method AutoGenerateMetaKeywordsContent
Prepares a placeholder for subsequent automatic generation of META keywords tag content.
Protected method CheckForMobileRedirect
Checks if the request is coming from the mobile client and perform the redirect if needed.
Protected method CheckIsCacheDirty
Checks if the cache for this page is invalidated.
Protected method CreateChildControls
Overridden CreateChildControls event
(Overrides Control..::..CreateChildControls()()()().)
Protected method CreateHtmlTextWriter
To avoid infamous: Exception of typeSystem.Web.HttpUnhandledException’ was thrown. Cannot use a leading .. to exit above the top directory.
Instead of improving search engine ranking, Url Rewriting can prevent crawlers from indexing any pages. ASP.NET 2.0 uses an adaptive rendering pattern to render html depending on user agents. When a bot visits the site, System.Web.UI.Html32TextWriter gets used to render the html and apparently this throws an exception when System.Web.Util.UrlPath.ReduceVirtualPath() gets called internally by the .NET framework when using Url Rewriting.
This method is used to solve the problems associated with this message. However, it appears that XhtmlTextWriter causes other unrelated problems, so the current solution is to use cookieless="UseCookies" in web.config so the cokieless feature that changes the URL is NEVER used.
(Overrides Page..::..CreateHtmlTextWriter(TextWriter).)
Protected method DisableViewState
Disables the state of the view.
Public method Dispose
Base page dispose. Dispose of: MonoXDaAdapter.
(Overrides Control..::..Dispose()()()().)
Protected method FindMasterWithToolbox
Finds the master with toolbox.
Protected method FrameworkInitialize
Initializes the control tree during page generation based on the declarative nature of the page.

Note: Portal culture initialization is performed here.

(Overrides Page..::..FrameworkInitialize()()()().)
Public method GenerateMetaTag
Protected method GetCurrentLanguageId
Gets currently selected language id.
Public method GetPageCacheKey
Generates cache key for page output caching based on the input params.
Public method GetPersonalizationPath
Gets the personalization (query) path from the personalization provider.
Public method GetRegisteredProviderModules
Get Registered provider modules.
Public method GetRevisionPath
Gets a string that will be used as a unique ID for the revision page.
Public method Static member HasSecurityException
Check if provided exception is raised from SecurityException.
Protected method InitializeCulture
Used to initialize selected culture.
(Overrides Page..::..InitializeCulture()()()().)
Protected method InitializeMonoXCulture
Used to initialize monox selected culture.
Public method InvalidateCacheKey
Invalidates cache key for page output caching, usually used with cache dependencies.
Protected method OnError
Handles all page errors.
(Overrides TemplateControl..::..OnError(EventArgs).)
Protected method OnInit
Page init, security and other initialization tasks are performed here.
(Overrides PageBaseOnInit(EventArgs).)
Public method OnInitWebPartManager
Triggers the InitWebPartManagerEvent.
Protected method OnLoad
Page load, sets SEO and Google analytics stuff.
(Overrides Control..::..OnLoad(EventArgs).)
Protected method OnPreInit
Decide which master page to assign to the content pages, Ajax or no-Ajax, based on the settings in user.config.
(Overrides Page..::..OnPreInit(EventArgs).)
Protected method OnPreRender
Overriden OnPreRender event, registers scripts and CSS.
(Overrides Control..::..OnPreRender(EventArgs).)
Public method RegisterProviderModule
Register provider module.
Protected method Render
Overriden render event, implements meta keyword generation.
(Overrides Page..::..Render(HtmlTextWriter).)
Protected method SetCacheDependencies
Sets cache dependencies by parsing the CacheDependencyKeys property and adding each of the dependencies to the dependency array.
Public method SetPageTitle
Used to set the page title from outside, bypassing the default SEO content generation.
Protected method SetSeoStuff
Used to set localized page title, and to set meta data (Description and Keywords).
Protected method SetupOutputCache
Sets up the output cache for this page.
Public method Static member ValidateCache
Used to hold the output cache invalidation code, if any. This HAS to be a static method - otherwise it will actually hang on to the original (and in most circumstances useless) page object for the entire duration of the cache entry lifetime, prohibiting the GC from collection it.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also