Click or drag to resize
CMSPlaceHolder Class
Placeholder.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsPlaceHolder
      CMS.Base.Web.UICMSPlaceHolder
        More...

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public class CMSPlaceHolder : PlaceHolder, 
	IShortID

The CMSPlaceHolder type exposes the following members.

Constructors
  NameDescription
Public methodCMSPlaceHolder
Top
Properties
  NameDescription
Public propertyIsLiveSite
Indicates if control is used on live site.
Public propertyShortID
Short ID of the control.
Top
Methods
  NameDescription
Public methodAppend(String)
Appends the given content to the placeholder
Public methodAppend(Control)
Appends the given control to the placeholder
Public methodClear
Clears the placeholder content
Protected methodFinishCurrent
Appends the given content to the placeholder
Protected methodOnInit
Init event handler.
(Overrides ControlOnInit(EventArgs).)
Protected methodOnPreRender
PreRender event handler
(Overrides ControlOnPreRender(EventArgs).)
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 MethodSetShortID
Sets the short ID to the ID if available.
(Defined by ControlsExtensions.)
Top
See Also
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsPlaceHolder
      CMS.Base.Web.UICMSPlaceHolder
        CMS.Base.Web.UIContextMenuPlaceHolder
        CMS.Base.Web.UIMessagesPlaceHolder
        CMS.FormEngine.Web.UIFormCategory
        CMS.PortalEngine.Web.UICMSContent
        CMS.PortalEngine.Web.UICMSPagePlaceholder
        CMS.UIControlsMacroEditor