Click or drag to resize
CMSPage Methods

The CMSPage type exposes the following members.

Methods
  NameDescription
Public methodAddConfirmation
Adds confirmation text to existing message on the page.
(Inherited from AbstractCMSPage.)
Public methodAddError
Adds error text to existing message on the page.
(Inherited from AbstractCMSPage.)
Public methodAddHeaderAction
Adds specified action to the page header actions.
(Inherited from AbstractCMSPage.)
Public methodAddHeaderActions
Adds the list of header actions to the page header actions.
(Inherited from AbstractCMSPage.)
Public methodAddInformation
Adds information text to existing message on the page.
(Inherited from AbstractCMSPage.)
Public methodAddMessage
Adds text to existing message on the page.
(Inherited from AbstractCMSPage.)
Public methodAddNoCacheTag
Adds the no-cache tag to the page header
Public methodAddScript
Adds the script to the page
Public methodAddWarning
Adds warning text to existing message on the page.
(Inherited from AbstractCMSPage.)
Public methodDisableDebugging
Disables all debugging for current page
Public methodEnsureFootersControl
Ensures the page footer control.
(Inherited from AbstractCMSPage.)
Public methodEnsureScriptManager
Ensures the script manager on the page.
(Overrides AbstractCMSPageEnsureScriptManager.)
Public methodEval(String, Boolean)
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractCMSPage.)
Public methodEvalReturnType(String)
Templated Eval, returns the value converted to specific type.
(Inherited from AbstractCMSPage.)
Public methodEvalBool
Evaluates the item data and converts it to the bool.
(Inherited from AbstractCMSPage.)
Public methodEvalDateTime
Evaluates the item data and converts it to the date time.
(Inherited from AbstractCMSPage.)
Public methodEvalDouble
Evaluates the item data and converts it to the integer.
(Inherited from AbstractCMSPage.)
Public methodEvalGuid
Evaluates the item data and converts it to the guid.
(Inherited from AbstractCMSPage.)
Public methodEvalHTML
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractCMSPage.)
Public methodEvalInteger
Evaluates the item data and converts it to the integer.
(Inherited from AbstractCMSPage.)
Public methodEvalJSString
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractCMSPage.)
Public methodEvalText
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractCMSPage.)
Public methodStatic memberGetAccessDeniedUrl
Gets the URL to Access denied page
Public methodStatic memberGetCMSDeskUIElementAccessDenied
Gets the URL for CMS Desk Access denied page
Protected methodGetDocumentManagerContainer
Gets control ideal for containing document manager.
(Inherited from AbstractCMSPage.)
Public methodGetImageUrl
Gets UI image URL.
(Inherited from AbstractCMSPage.)
Public methodCheckAdministrationInterface
Checks if the administration interface is enabled, if not, redirects to access denied
Public methodCheckEditor
Checks whether the user is an editor
Public methodCheckGlobalAdministrator
Checks whether user is global administrator with access to all applications User without global access is redirected to access denied page.
Public methodCheckLicense
Checks the license for the given feature. Redirects to feature not available if not available.
Public methodCheckPermissions
Checks the security of the permissions, returns true if the security check succeeded
Public methodStatic memberCheckPreferredCulture
Checks the preferred culture and changes it to default if not valid. Returns true if the culture was valid.
Public methodStatic memberCheckPreferredCulture(String)
Checks the preferred culture and changes it to default if not valid. Returns true if the culture was valid.
Public methodCheckResourceSite
Checks the security of the resource, returns true if the module is assigned to the site
Public methodCheckSite
Checks if current site is valid. Redirects to invalid web site if not.
Public methodStatic memberCheckUIElementAccessHierarchical(UIElementInfo, MacroResolver, Int32, Boolean)
Checks the permissions of all UI elements hierarchically starting with specified UI element. Use optional parameter (contextResolver) and macro in ElementAccessCondition will be also checked. Use two optional parameters (isDialog, rootElementId) if your ui element is dialog. In case of insufficient permissions appropriate redirection is made.
Public methodStatic memberCheckUIElementAccessHierarchical(String, String, MacroResolver, Int32, Boolean)
Checks the permissions of all UI elements hierarchically starting with specified UI element. Use optional parameter "contextResolver" and macro in ElementAccessCondition will be also checked. Use optional parameter "rootElementId" if your UI element is in a dialog. RootElementId variable identifies the UI element which is used in the top frame of the dialog. In case of insufficient permissions appropriate redirection is made.
Public methodCheckUIElements
Checks the security of the UI elements, returns true if the security check succeeded
Public methodInitDebug
Initializes the debug controls.
(Inherited from AbstractCMSPage.)
Public methodInitDevTools
Initializes the Dev tools menu
(Inherited from AbstractCMSPage.)
Public methodInitTabs(String)
Initializes the array for the tabs data
Public methodInitTabs(String, String, String)
Initializes the array for the tabs data
Public methodStatic memberIsUserAuthorizedPerContent
Determines whether current user is authorized to access cms.content
Public methodStatic memberIsUserAuthorizedPerContent(String)
Determines whether current user is authorized to access cms.content
Protected methodLoadContextHelp
Loads application description and help topics with respect to current UI context. Does nothing when context help not enabled or not on standard page.
(Inherited from AbstractCMSPage.)
Public methodLoadUserControl
Loads the user control based on the given path
(Inherited from AbstractCMSPage.)
Public methodLogAndShowError
Logs the exception and displays a general error message
(Inherited from AbstractCMSPage.)
Protected methodOnInit
Init event handler
(Overrides AbstractCMSPageOnInit(EventArgs).)
Protected methodOnLoad
Load event handler
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnPreInit
PreInit event handler
(Overrides AbstractCMSPageOnPreInit(EventArgs).)
Protected methodOnPreRender
PreRender event handler
(Overrides AbstractCMSPageOnPreRender(EventArgs).)
Protected methodOnPreRenderComplete
Raises the PreRenderComplete event after the OnPreRenderComplete event and before the page is rendered.
(Inherited from AbstractCMSPage.)
Public methodRaiseCheckTabSecurity
Raises OnCheckTabSecurity event.
Public methodRaiseTabCreated
Raises OnTabCreated event.
Public methodStatic memberRedirectToAccessDenied(String)
Redirects the user to Access denied page
Public methodStatic memberRedirectToAccessDenied(String, String)
Redirects the user to Access denied page
Protected methodStatic memberRedirectToAccessDenied(String, String, String, String, String)
Redirects the user to Access denied page
Protected methodStatic memberRedirectToAccessDeniedPage
Redirects the user to Access denied page
Public methodStatic memberRedirectToAccessDeniedResourceNotAvailableOnSite
Redirect to access denied page with error text not available on site
Public methodStatic memberRedirectToInformation
Redirects the user to the info page which displays specified message.
Public methodStatic memberRedirectToResourceNotAvailableOnSite
Redirects the user to the access denied page with info about resource not being assigned to site.
Public methodStatic memberRedirectToSecured
Redirects to secured (SSL) page if its set in settings (CMSUseSSLForAdministrationInterface key)
Public methodStatic memberRedirectToUIElementAccessDenied
Redirects the user to CMS Desk Access denied page
Public methodStatic memberRedirectToUINotAvailable
Redirects the user to the info page which says that the UI of the requested page is not available.
Public methodStatic memberRefreshParentWindow
Refreshes the parent window
Public methodRegisterBodyModifyingScript
Registers script that modified body element. (For IE7,8 compatibility reasons. See KB927917 for more information.)
(Inherited from AbstractCMSPage.)
Protected methodRegisterContextHelpScript
Registers script which passes application description and help topics to UI. If applicationName is null or empty, no application context is assumed (and applicationDescriptionUrl, applicationHelpTopics is not used).
(Inherited from AbstractCMSPage.)
Public methodRegisterDialogCSSLink
Registers CSS file for dialogs
Protected methodRegisterDialogHandlingScripts
Registers script for centralized dialog closing. (Contains functionality for refreshing opener window.)
Public methodRegisterEscScript
Registers the script to handle the close window operation on ESC key
Public methodRegisterExportScript
Registers the object export function
Public methodRegisterModalDialogScript
Registers the model dialog script
Protected methodRegisterModalPageScripts
Register wopener script and base target tag for this page
Protected methodRegisterSplitModeSync(Boolean, Boolean)
Registers js script for synchronization scroll bars in split mode.
Protected methodRegisterSplitModeSync(Boolean, Boolean, Boolean)
Registers java script for synchronization scroll bars in split mode.
Public methodRegisterTooltipScript
Registers the tooltip script
Protected methodRender
Render event handler
(Overrides PageRender(HtmlTextWriter).)
Public methodResolveUrl
Resolves the given URL
(Inherited from AbstractCMSPage.)
Public methodSetAction
Sets the particular action data.
Public methodSetBreadcrumb
Sets the particular Breadcrumb data
Public methodSetBrowserClass
Sets the browser class to the body class
Public methodSetCulture
Sets current UI culture
Public methodSetEditedObject
Set edited object and ensure redirection to frame set if necessary
Protected methodSetFormAction
Sets the form action for current page if was rewritten by URL rewriter
(Inherited from AbstractCMSPage.)
Public methodSetHelp
Sets the page title
Public methodSetLiveCulture
Sets current UI culture for live site
Public methodSetLiveDialogClass
Sets the live site dialog body class.
Public methodSetLiveRTL
Sets the RTL culture for live site to the body class if RTL language
Public methodSetRTL
Sets the RTL culture to the body class if RTL language
Public methodSetTab(UITabItem)
Sets the tab.
Public methodSetTab(Int32, String, String, String)
Sets the particular tab.
Public methodSetTitle
Sets the page title
Public methodShowConfirmation
Shows the general confirmation message.
(Inherited from AbstractCMSPage.)
Public methodShowError
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractCMSPage.)
Public methodShowChangesSaved
Shows the general changes saved message.
(Inherited from AbstractCMSPage.)
Public methodShowInformation
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractCMSPage.)
Public methodShowMessage
Shows the specified message, optionally with a tooltip text and description.
(Inherited from AbstractCMSPage.)
Public methodShowWarning
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractCMSPage.)
Protected methodValidateHash
Checks if the user is global administrator (can access the administration (development) page, or a hash is valid)
Top
Extension Methods
  NameDescription
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodLoadUserControl
Loads the user control based on the given path
(Defined by ControlsExtensions.)
Top
See Also