Click or drag to resize
EditMenu Class
Base class for document edit menu control.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UITemplateControl
      System.Web.UIUserControl
        CMS.Base.Web.UIAbstractUserControl
          CMS.Base.Web.UIInlineUserControl
            CMS.PortalEngine.Web.UIBaseEditMenu
              CMS.PortalEngine.Web.UIEditMenu

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public abstract class EditMenu : BaseEditMenu

The EditMenu type exposes the following members.

Constructors
  NameDescription
Protected methodEditMenu
Top
Fields
  NameDescription
Protected fieldmExtraActions
List of the extra actions added to the menu
(Inherited from BaseEditMenu.)
Top
Properties
  NameDescription
Public propertyActionsValidationGroup
Name of validation group where action buttons belong to.
Public propertyAllowSave
Indicates if Save action is allowed.
(Inherited from BaseEditMenu.)
Public propertyCheckPermissions
If true, the access permissions to the items are checked.
(Inherited from BaseEditMenu.)
Public propertyComponentName
Component name
(Inherited from AbstractUserControl.)
Public propertyCultureCode
Document culture code.
Public propertyCurrentSite
Current site
(Inherited from AbstractUserControl.)
Public propertyCurrentUser
Current user
(Inherited from AbstractUserControl.)
Public propertyDocumentManager
Document manager control
(Inherited from AbstractUserControl.)
Public propertyEnabled
Indicates if the menu is enabled
(Inherited from BaseEditMenu.)
Public propertyForceArchive
Forces to show the Archive button (backward compatibility for basic workflow on Properties->Workflow tab).
Public propertyHandleWorkflow
Indicates if workflow actions should be displayed and handled
Public propertyHeaderActions
Header actions control
(Inherited from AbstractUserControl.)
Public propertyHideStandardButtons
If true, the menu shows the standard editing buttons
(Inherited from BaseEditMenu.)
Public propertyInformationText
If set, the given text is displayed as information text
(Inherited from BaseEditMenu.)
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from AbstractUserControl.)
Public propertyItem
Gets or sets the value of the column.
(Inherited from InlineUserControl.)
Public propertyLinkCssClass
Link CSS class
(Inherited from BaseEditMenu.)
Public propertyMessagesPlaceHolder
Placeholder for messages
(Inherited from AbstractUserControl.)
Public propertyNode
Document node.
Public propertyNodeID
Node ID.
Public propertyOnClientStepChanged
Refresh script to be called when step ID of document changes
(Inherited from BaseEditMenu.)
Public propertyParameter
Control parameter.
(Inherited from InlineUserControl.)
Protected propertyProperties
Control properties.
(Inherited from InlineUserControl.)
Public propertyRefreshInterval
Refresh interval
(Inherited from BaseEditMenu.)
Protected propertyResourceCulture
Resource strings culture
(Inherited from BaseEditMenu.)
Public propertyCode exampleResourcePrefix
Prefix for the resource strings which are used for the localization by the control and its child controls.
(Inherited from AbstractUserControl.)
Public propertyResourcePrefixes
List of cached resource prefixes for the parent hierarchy
(Inherited from AbstractUserControl.)
Public propertyShortID
Short ID of the control.
(Inherited from AbstractUserControl.)
Public propertyShowApplyWorkflow
Show the Apply workflow button.
Public propertyShowApprove
Show the Approve button.
Public propertyShowArchive
Show the Archive button.
Public propertyShowCheckIn
Show the Check In button.
Public propertyShowCheckOut
Show the Check Out button.
Public propertyShowCreateAnother
If true, create another button can be displayed.
Public propertyShowDelete
Show the Delete button.
Public propertyShowProperties
Show the Properties button.
Public propertyShowReject
Show the Reject button.
Public propertyShowSave
Show the Save button.
Public propertyShowSaveAndClose
If true, save and close button can be displayed
Public propertyShowSpellCheck
Show spell check button.
Public propertyShowSubmitToApproval
Show the Submit To Approval button.
Public propertyShowUndoCheckOut
Show the Undo CheckOut button.
Public propertyStopProcessing
Indicates if the control should perform the operations.
(Inherited from AbstractUserControl.)
Public propertyUsesLocalMessagesPlaceHolder
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.)
Public propertyUseSmallIcons
Indicates if small icons should be used for actions
(Inherited from BaseEditMenu.)
Protected propertyViewState
ViewState - overridden for the Master page ViewState fix.
(Inherited from InlineUserControl.)
Top
Methods
  NameDescription
Protected methodAddAlert
Adds the alert message to the output request window.
(Inherited from BaseEditMenu.)
Public methodAddConfirmation
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodAddError
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodAddExtraAction
Adds the extra action to the menu
(Inherited from BaseEditMenu.)
Public methodAddHeaderAction
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.)
Public methodAddInformation
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodAddMessage
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.)
Protected methodAddScript
Adds the script to the output request window.
(Inherited from BaseEditMenu.)
Public methodAddWarning
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.)
Public methodEnsureControls
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.)
Protected methodEnsureSplitModeScript
Ensures java-script for split mode.
(Inherited from BaseEditMenu.)
Public methodEval(String)
Evaluates the given value
(Inherited from AbstractUserControl.)
Public methodEval(String, Boolean)
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.)
Public methodEvalBool
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.)
Public methodEvalDateTime
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.)
Public methodEvalDecimal
Evaluates the item data and converts it to the decimal.
(Inherited from AbstractUserControl.)
Public methodEvalDouble
Evaluates the item data and converts it to the double.
(Inherited from AbstractUserControl.)
Public methodEvalGuid
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.)
Public methodEvalHTML
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.)
Public methodEvalHtmlAttribute
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.)
Public methodEvalInteger
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.)
Public methodEvalJSString
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.)
Public methodEvalText(String)
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.)
Public methodEvalText(String, Boolean)
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.)
Public methodGetFlagIconUrl
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.)
Public methodGetImagePath
Gets UI image relative path.
(Inherited from AbstractUserControl.)
Public methodGetImageUrl
Gets UI image relative path.
(Inherited from AbstractUserControl.)
Public methodGetString
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.)
Public methodGetValue(String)
Returns the value of the given property.
(Inherited from InlineUserControl.)
Public methodGetValueReturnType(String, ReturnType)
Returns the value of the given property.
(Inherited from InlineUserControl.)
Public methodHasValue
Returns true if the value of the given property is set.
(Inherited from InlineUserControl.)
Public methodLoadUserControl
Loads the user control based on the given path
(Inherited from AbstractUserControl.)
Public methodLogAndShowError
Logs the exception and
(Inherited from AbstractUserControl.)
Public methodOnContentLoaded
Method that is called when the control content is loaded.
(Inherited from InlineUserControl.)
Protected methodOnInit
Init event handler.
(Inherited from AbstractUserControl.)
Protected methodOnLoad
Load event handler.
(Inherited from AbstractUserControl.)
Protected methodOnPreRender
PreRender event handler.
(Inherited from AbstractUserControl.)
Protected methodRaiseGetClientActionScript
Raises event to get client action script.
(Inherited from BaseEditMenu.)
Protected methodRaiseGetClientValidationScript
Raises event to get client validation script.
(Inherited from BaseEditMenu.)
Protected methodRaiseOnBeforeReloadMenu
Raises the OnBeforeReloadMenu when the ReloadMenu action is called.
Protected methodRender
Render event handler.
(Inherited from AbstractUserControl.)
Public methodResolveUrl
Resolves the given URL
(Inherited from AbstractUserControl.)
Public methodSetValue
Sets the property value of the control, setting the value affects only local property value.
(Inherited from InlineUserControl.)
Public methodShowChangesSaved
Shows the general changes saved message.
(Inherited from AbstractUserControl.)
Public methodShowConfirmation
Shows the general confirmation message.
(Inherited from AbstractUserControl.)
Public methodShowError
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Public methodShowInformation
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Public methodShowMessage(MessageTypeEnum, String, String, String, Boolean)
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Protected methodShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean)
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Public methodShowWarning
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.)
Protected methodTrackViewState
Tracks the view state.
(Inherited from InlineUserControl.)
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.)
Top
Events
  NameDescription
Public eventOnBeforeReloadMenu
Event raised when the ReloadMenu action is called.
Public eventOnGetClientActionScript
On get client action script handler.
(Inherited from BaseEditMenu.)
Public eventOnGetClientValidationScript
On get client validation script handler.
(Inherited from BaseEditMenu.)
Top
See Also