Click or drag to resize
CMSAbstractBaseFilterControl Class
Abstract class for filter controls.
Inheritance Hierarchy

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public abstract class CMSAbstractBaseFilterControl : AbstractUserControl, 
	ICMSBaseProperties, IFilterControl

The CMSAbstractBaseFilterControl type exposes the following members.

Constructors
  NameDescription
Protected methodCMSAbstractBaseFilterControl
Top
Properties
  NameDescription
Protected propertyBaseProperties
Data properties
Public propertyCacheDependencies
Cache dependencies, each cache dependency on a new line.
Public propertyCacheItemName
Name of the cache item the control will use.
Public propertyCacheMinutes
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
Public propertyComponentName
Component name
(Inherited from AbstractUserControl.)
Public propertyCurrentDocument
Current document
(Inherited from AbstractUserControl.)
Public propertyCurrentPageInfo
Current page info
(Inherited from AbstractUserControl.)
Public propertyCurrentSite
Current site
(Inherited from AbstractUserControl.)
Public propertyCurrentUser
Current user
(Inherited from AbstractUserControl.)
Public propertyDisableFilterCaching
Enables or disables filter caching.
Public propertyDocumentManager
Document manager control
(Inherited from AbstractUserControl.)
Public propertyFilterChanged
Property to set and get the Filter changed.
Public propertyFilterControl
Data filter control.
Public propertyFilterControlPath
Gets or sets the path of the filter control.
Public propertyFilteredControl
Filtered control.
Public propertyFilterIsSet
Property to get if the filter is set.
Public propertyFilterMode
Allow to set filter mode (useful if same filter is used to filter different items)
Public propertyFilterName
Property to set and get the Filter name.
Public propertyHeaderActions
Header actions control
(Inherited from AbstractUserControl.)
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from AbstractUserControl.)
Public propertyMessagesPlaceHolder
Placeholder for messages
(Inherited from AbstractUserControl.)
Public propertyOrderBy
Property to set and get the OrderBy.
Public propertyParameters
Hashtable with additional parameters.
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 propertySelectedColumns
Columns which should be selected.
Public propertySelectedValue
This value is used to initialize filter control according to currently selected value.
Public propertyShortID
Short ID of the control.
(Inherited from AbstractUserControl.)
Public propertySiteID
Property to set and get the filter SiteID.
Public propertySiteName
Property to set and get the SiteName.
Public propertySourceFilterControl
Gets the source filter control.
Public propertySourceFilterName
Gets or sets the source filter name.
Public propertyStopProcessing
Stop processing.
(Overrides AbstractUserControlStopProcessing.)
Public propertyToggleAdvancedModeButton
Gets button used to toggle filter's advanced mode.
Public propertyTopN
Property to set and get the Top N property.
Public propertyUsesLocalMessagesPlaceHolder
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.)
Public propertyValue
Filter value.
Public propertyWhereCondition
Property to set and get the WhereCondition.
Top
Methods
  NameDescription
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 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.)
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.)
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 methodGetCacheDependency
Gets the cache dependency for the control.
Public methodGetDefaultCacheDependencies
Gets the default cache dependencies for the data source.
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 methodInitDataProperties
Initialize data properties from property object.
Public methodInvalidateLoadedData
Invalidate loaded data.
Public methodLoadUserControl
Loads the user control based on the given path
(Inherited from AbstractUserControl.)
Public methodLogAndShowError
Logs the exception and
(Inherited from AbstractUserControl.)
Protected methodOnInit
Init event handler.
(Overrides AbstractUserControlOnInit(EventArgs).)
Protected methodOnLoad
Load event handler.
(Overrides AbstractUserControlOnLoad(EventArgs).)
Protected methodOnPreRender
PreRender event handler.
(Inherited from AbstractUserControl.)
Protected methodPropagateProperties
Propagates given settings
Public methodRaiseOnFilterChanged
Run OnDataFilterChanged handler.
Protected methodRegisterOnFilterChangedHandler
Register OnFilterChanged handler
Protected methodRender
Render event handler.
(Inherited from AbstractUserControl.)
Public methodResetFilter
Resets filter to default state.
Protected methodResetPager
Resets pager data
Public methodResolveUrl
Resolves the given URL
(Inherited from AbstractUserControl.)
Public methodRestoreFilterState
Restores filter state from the specified object.
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 methodSourceFilterControl_OnFilterChanged
Handles the OnFilterChanged event of the SourceFilter control.
Public methodStoreFilterState
Stores filter state to the specified object.
Protected methodToggleAdvancedModeButton_Click
Toggle advanced mode button click event
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 eventOnFilterChanged
Filter change handler.
Top
See Also
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UITemplateControl
      System.Web.UIUserControl
        CMS.Base.Web.UIAbstractUserControl
          CMS.DocumentEngine.Web.UICMSAbstractBaseFilterControl
            CMS.DocumentEngine.Web.UICMSAbstractControlFilterControl
            CMS.DocumentEngine.Web.UICMSAbstractQueryFilterControl
            CMS.DocumentEngine.Web.UICMSAbstractRecycleBinFilterControl
            CMS.DocumentEngine.Web.UICMSBaseDataSource
            CMS.MediaLibrary.Web.UIFolderTree
            CMS.Synchronization.Web.UIStagingTasksFilterBase