The BasePage type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddAjaxStartupScript |
Ads Ajax startup javascripts that are then executed from PreRender.
|
|
AllowAccess |
Used to determine if current uset has access to requested page.
|
|
AutoGenerateMetaKeywordsContent |
Prepares a placeholder for subsequent automatic generation of META keywords tag content.
|
|
CheckForMobileRedirect |
Checks if the request is coming from the mobile client and perform the redirect if needed.
|
|
CheckIsCacheDirty |
Checks if the cache for this page is invalidated.
|
|
CreateChildControls |
Overridden CreateChildControls event
(Overrides Control..::..CreateChildControls()()()().) |
|
CreateHtmlTextWriter |
To avoid infamous: Exception of typeSystem.Web.HttpUnhandledException’ was thrown. Cannot use a leading .. to exit above the top directory. (Overrides Page..::..CreateHtmlTextWriter(TextWriter).)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. |
|
DisableViewState |
Disables the state of the view.
|
|
Dispose |
Base page dispose.
Dispose of: MonoXDaAdapter.
(Overrides Control..::..Dispose()()()().) |
|
FindMasterWithToolbox |
Finds the master with toolbox.
|
|
FrameworkInitialize |
Initializes the control tree during page generation based on the declarative nature of the page.
(Overrides Page..::..FrameworkInitialize()()()().)Note: Portal culture initialization is performed here. |
|
GenerateMetaTag | ||
GetCurrentLanguageId |
Gets currently selected language id.
|
|
GetPageCacheKey |
Generates cache key for page output caching based on the input params.
|
|
GetPersonalizationPath |
Gets the personalization (query) path from the personalization provider.
|
|
GetRegisteredProviderModules |
Get Registered provider modules.
|
|
GetRevisionPath |
Gets a string that will be used as a unique ID for the revision page.
|
|
HasSecurityException |
Check if provided exception is raised from SecurityException.
|
|
InitializeCulture |
Used to initialize selected culture.
(Overrides Page..::..InitializeCulture()()()().) |
|
InitializeMonoXCulture |
Used to initialize monox selected culture.
|
|
InvalidateCacheKey |
Invalidates cache key for page output caching, usually used with cache dependencies.
|
|
OnError |
Handles all page errors.
(Overrides TemplateControl..::..OnError(EventArgs).) |
|
OnInit |
Page init, security and other initialization tasks are performed here.
(Overrides PageBaseOnInit(EventArgs).) |
|
OnInitWebPartManager |
Triggers the InitWebPartManagerEvent.
|
|
OnLoad |
Page load, sets SEO and Google analytics stuff.
(Overrides Control..::..OnLoad(EventArgs).) |
|
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).) |
|
OnPreRender |
Overriden OnPreRender event, registers scripts and CSS.
(Overrides Control..::..OnPreRender(EventArgs).) |
|
RegisterProviderModule |
Register provider module.
|
|
Render |
Overriden render event, implements meta keyword generation.
(Overrides Page..::..Render(HtmlTextWriter).) |
|
SetCacheDependencies |
Sets cache dependencies by parsing the CacheDependencyKeys property and adding each of the dependencies to the dependency array.
|
|
SetPageTitle |
Used to set the page title from outside, bypassing the default SEO content generation.
|
|
SetSeoStuff |
Used to set localized page title, and to set meta data (Description and Keywords).
|
|
SetupOutputCache |
Sets up the output cache for this page.
|
|
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 | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |