Click or drag to resize
SiteOrGlobalSelector Class
Form control for the site selection.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      CMS.Base.Web.UICMSWebControl
        CMS.Base.Web.UICMSDynamicWebControl
          CMS.FormEngine.Web.UIFormControl
            CMS.UIControlsSiteOrGlobalSelector

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
public class SiteOrGlobalSelector : FormControl

The SiteOrGlobalSelector type exposes the following members.

Constructors
  NameDescription
Public methodSiteOrGlobalSelector
Constructor
Top
Properties
  NameDescription
Public propertyAutoPostBack
Gets or sets whether a postback automatically occurs.
(Inherited from FormControl.)
Public propertyCheckUnique
If true, the field is checked for uniqueness. This property is only supported in UIForm.
(Inherited from FormControl.)
Public propertyCssClass
Control CSS class.
(Overrides FormControlCssClass.)
Public propertyDropDownCSSClass
Dropdown CSS class.
Public propertyEditingControl
Editing control.
(Inherited from FormControl.)
Public propertyEnabled
Gets or sets state enable.
(Inherited from FormControl.)
Public propertyField
Field name for the inner controls. This property is only supported in templated form.
(Inherited from FormControl.)
Public propertyForm
Form where the control is used.
(Inherited from FormControl.)
Public propertyFormControlName
Form control name.
(Inherited from FormControl.)
Public propertyFormFieldInfo
FormFieldInfo for current control.
(Inherited from FormControl.)
Public propertyInitCompleted
If true, the initialization of the control has already completed and won't repeat. Set to true in your initialization code.
(Inherited from CMSDynamicWebControl.)
Protected propertyInitEarly
If true, the control initializes on BeforeInitComplete, otherwise on InitComplete event.
(Inherited from CMSDynamicWebControl.)
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from FormControl.)
Public propertyPostbackOnDropDownChange
If true, full post-back is called when site changed
Public propertyProperties
Properties definition.
(Inherited from FormControl.)
Public propertySelector
Returns selector control internally used for selecting sites.
Public propertyShortID
Short ID of the control.
(Inherited from FormControl.)
Public propertyShowSiteAndGlobal
Gets or sets visibility to 'global and this site' value.
Public propertySiteID
ID of the selected site.
Public propertyStopProcessing
Indicates if processing of the code of this control should continue. It can be used after raising an event.
(Inherited from CMSDynamicWebControl.)
Public propertySupportsDisabledAttribute
Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's IsEnabled property is false.
(Inherited from FormControl.)
Protected propertyTagKey
TagKey used to render (Div).
(Inherited from FormControl.)
Public propertyTargetObjectType
Object type to filter using this site selector.
Public propertyText
Gets or sets value converted to string
(Inherited from FormControl.)
Public propertyTrim
If true, the value is trimmed. This property is only supported if used inside the form control.
(Inherited from FormControl.)
Public propertyUniSelector
Returns uni-selector control internally used for selecting sites.
Public propertyUpdatePanel
Returns inner update panel.
Public propertyUseFFI
Indicates if control should load properties from FormFieldInfo. Default TRUE.
(Inherited from FormControl.)
Public propertyValue
Value used for initialization as default value.
(Inherited from FormControl.)
Top
Methods
  NameDescription
Protected methodCreateChildControls
Renders the control at run-time.
(Inherited from CMSDynamicWebControl.)
Protected methodEnsureChildControlControlType
Ensures the first found child control of the given type in the given variable
(Inherited from FormControl.)
Protected methodEnsureInitialization
Initializes the control. Is called within InitComplete or
(Inherited from CMSDynamicWebControl.)
Public methodGetValue(String)
Returns the value of the given web part property property.
(Inherited from FormControl.)
Public methodGetValueReturnType(String, ReturnType)
Returns the value of the given web part property property.
(Inherited from FormControl.)
Public methodGetWhereCondition
Gets control where condition
Protected methodInitializeControl
Loads the form control
(Inherited from FormControl.)
Protected methodLoadViewState
Customized LoadViewState.
(Inherited from CMSDynamicWebControl.)
Protected methodOnInit
Init event
(Overrides CMSDynamicWebControlOnInit(EventArgs).)
Protected methodOnLoad
Load event handler.
(Inherited from CMSDynamicWebControl.)
Protected methodOnPreRender
OnPreRender override.
(Inherited from FormControl.)
Protected methodPage_InitComplete
Event handler of page's init complete.
(Inherited from CMSDynamicWebControl.)
Public methodReload
Reloads inner controls. Can be used after additional initialization.
(Inherited from FormControl.)
Protected methodSaveViewState
Customized SaveViewState.
(Inherited from CMSDynamicWebControl.)
Public methodSetValue
Sets the property value of the control, setting the value affects only local property value.
(Inherited from FormControl.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
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 MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
See Also