MediaFileDataSource Class |
Namespace: CMS.MediaLibrary.Web.UI
[SerializableAttribute] public class MediaFileDataSource : CMSBaseDataSource
The MediaFileDataSource type exposes the following members.
Name | Description | |
---|---|---|
MediaFileDataSource |
Name | Description | |
---|---|---|
mDataSource |
Data source.
(Inherited from CMSBaseDataSource.) |
Name | Description | |
---|---|---|
BaseProperties |
Data properties
(Inherited from CMSAbstractBaseFilterControl.) | |
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
(Inherited from CMSAbstractBaseFilterControl.) | |
CacheItemName |
Name of the cache item the control will use.
(Inherited from CMSAbstractBaseFilterControl.) | |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
(Inherited from CMSAbstractBaseFilterControl.) | |
ComponentName |
Component name
(Inherited from AbstractUserControl.) | |
ControlContext |
Control context.
(Inherited from CMSBaseDataSource.) | |
CurrentDocument |
Current document
(Inherited from AbstractUserControl.) | |
CurrentPageInfo |
Current page info
(Inherited from AbstractUserControl.) | |
CurrentSite |
Current site
(Inherited from AbstractUserControl.) | |
CurrentUser |
Current user
(Inherited from AbstractUserControl.) | |
DataSource |
Gets or sets source with data.
(Inherited from CMSBaseDataSource.) | |
DisableFilterCaching |
Enables or disables filter caching.
(Inherited from CMSAbstractBaseFilterControl.) | |
DocumentManager |
Document manager control
(Inherited from AbstractUserControl.) | |
FileExtensions |
Gets or sets the allowed file extensions.
| |
FilePath |
Gets or sets the file path.
| |
FilterControl |
Data filter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterControlPath |
Gets or sets the path of the filter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilteredControl |
Filtered control.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterChanged |
Property to set and get the Filter changed.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterIsSet |
Property to get if the filter is set.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterMode |
Allow to set filter mode (useful if same filter is used to filter different items)
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterName |
Property to set and get the Filter name.
(Inherited from CMSAbstractBaseFilterControl.) | |
GroupID |
Gets or set the group id (for permission checking).
| |
HeaderActions |
Header actions control
(Inherited from AbstractUserControl.) | |
CheckPermissions |
Gets or sets if user permissions to file should be checked.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from AbstractUserControl.) | |
IsSelected |
Gets or sets the value that indicates whether current data source contains selected item.
(Inherited from CMSBaseDataSource.) | |
LibraryName |
Gets or sets the source filter name.
| |
LoadPagesIndividually |
If true, each page is loaded individually in case of paging.
(Inherited from CMSBaseDataSource.) | |
MaxRecords |
Maximum number of records to get from the database.
(Inherited from CMSBaseDataSource.) | |
MessagesPlaceHolder |
Placeholder for messages
(Inherited from AbstractUserControl.) | |
Offset |
Offset where the data retrieved from database should start.
(Inherited from CMSBaseDataSource.) | |
OrderBy |
Property to set and get the OrderBy.
(Inherited from CMSAbstractBaseFilterControl.) | |
PagerDataItem |
Pager data item object.
(Inherited from CMSBaseDataSource.) | |
PagerForceNumberOfResults |
Gets or sets the number of result. Enables proceed "fake" datasets, where number
of results in the dataset is not correspondent to the real number of results
This property must be equal -1 if should be disabled
(Inherited from CMSBaseDataSource.) | |
Parameters |
Hashtable with additional parameters.
(Inherited from CMSAbstractBaseFilterControl.) | |
RelatedData |
Related data.
(Inherited from CMSBaseDataSource.) | |
ResourcePrefix |
Prefix for the resource strings which are used for the localization by the control and its child controls.
(Inherited from AbstractUserControl.) | |
ResourcePrefixes |
List of cached resource prefixes for the parent hierarchy
(Inherited from AbstractUserControl.) | |
SelectedColumns |
Columns which should be selected.
(Inherited from CMSAbstractBaseFilterControl.) | |
SelectedValue |
This value is used to initialize filter control according to currently selected value.
(Inherited from CMSAbstractBaseFilterControl.) | |
ShortID |
Short ID of the control.
(Inherited from AbstractUserControl.) | |
ShowGroupFiles |
Indicates if the group files should be included.
| |
SiteID |
Property to set and get the filter SiteID.
(Inherited from CMSAbstractBaseFilterControl.) | |
SiteName |
Property to set and get the SiteName.
(Inherited from CMSAbstractBaseFilterControl.) | |
SourceFilterControl |
Gets the source filter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
SourceFilterName |
Gets or sets the source filter name.
(Inherited from CMSAbstractBaseFilterControl.) | |
StopProcessing |
Stop processing.
(Inherited from CMSAbstractBaseFilterControl.) | |
ToggleAdvancedModeButton |
Gets button used to toggle filter's advanced mode.
(Inherited from CMSAbstractBaseFilterControl.) | |
TopN |
Property to set and get the Top N property.
(Inherited from CMSAbstractBaseFilterControl.) | |
TotalRecords |
Total number of records.
(Inherited from CMSBaseDataSource.) | |
UniPagerControl |
Pager control.
(Inherited from CMSBaseDataSource.) | |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.) | |
Value |
Filter value.
(Inherited from CMSAbstractBaseFilterControl.) | |
WhereCondition |
Property to set and get the WhereCondition.
(Inherited from CMSAbstractBaseFilterControl.) |
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddError |
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddHeaderAction |
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.) | |
AddInformation |
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddMessage |
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddWarning |
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.) | |
ClearCache |
Clears the cached items.
(Inherited from CMSBaseDataSource.) | |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
Eval(String) |
Evaluates the given value
(Inherited from AbstractUserControl.) | |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.) | |
EvalBool |
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.) | |
EvalDateTime |
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.) | |
EvalDouble |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalGuid |
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.) | |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.) | |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.) | |
EvalInteger |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.) | |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
GetCacheDependency |
Gets the cache dependency for the control.
(Inherited from CMSAbstractBaseFilterControl.) | |
GetDataSource |
Gets data source according to caching properties.
(Inherited from CMSBaseDataSource.) | |
GetDataSource(Int32, Int32) |
Gets data source according to caching properties.
(Inherited from CMSBaseDataSource.) | |
GetDataSourceFromDB |
Gets data source from DB.
(Overrides CMSBaseDataSourceGetDataSourceFromDB.) | |
GetDataSourceFromDB(Int32, Int32, Int32) |
Gets data source from DB.
(Inherited from CMSBaseDataSource.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
(Overrides CMSAbstractBaseFilterControlGetDefaultCacheDependencies.) | |
GetDefaultCacheKey |
Gets default cache key.
(Overrides CMSBaseDataSourceGetDefaultCacheKey.) | |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.) | |
GetImagePath |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetImageUrl |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetRelatedData |
Gets related data.
(Inherited from CMSBaseDataSource.) | |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.) | |
InitDataProperties |
Initialize data properties from property object.
(Inherited from CMSAbstractBaseFilterControl.) | |
InvalidateLoadedData |
Invalidate loaded data.
(Inherited from CMSBaseDataSource.) | |
LoadData |
Loads data from the database according to the current values of properties.
(Inherited from CMSBaseDataSource.) | |
LoadUserControl |
Loads the user control based on the given path
(Inherited from AbstractUserControl.) | |
LogAndShowError |
Logs the exception and
(Inherited from AbstractUserControl.) | |
OnInit |
Init event handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
OnLoad |
Load event handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
OnPreRender |
PreRender event handler.
(Inherited from AbstractUserControl.) | |
PropagateProperties |
Propagates given settings
(Inherited from CMSAbstractBaseFilterControl.) | |
RaiseOnFilterChanged |
Run OnDataFilterChanged handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
RaiseOnPageBinding |
Raises the page binding event.
(Inherited from CMSBaseDataSource.) | |
ReBind |
Evokes control databind.
(Inherited from CMSBaseDataSource.) | |
RegisterOnFilterChangedHandler |
Register OnFilterChanged handler
(Inherited from CMSAbstractBaseFilterControl.) | |
Render |
Render event handler.
(Inherited from AbstractUserControl.) | |
ResetFilter |
Resets filter to default state.
(Inherited from CMSAbstractBaseFilterControl.) | |
ResetPager |
Resets pager data if pager is bound
(Inherited from CMSBaseDataSource.) | |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
RestoreFilterState |
Restores filter state from the specified object.
(Inherited from CMSAbstractBaseFilterControl.) | |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
ShowError |
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowChangesSaved |
Shows the general changes saved message.
(Inherited from AbstractUserControl.) | |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
SourceFilterControl_OnFilterChanged |
Handles the OnFilterChanged event of the SourceFilter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
StoreFilterState |
Stores filter state to the specified object.
(Inherited from CMSAbstractBaseFilterControl.) |
Name | Description | |
---|---|---|
CallHandled |
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnFilterChanged |
Filter change handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
OnPageBinding |
Occurs when the control bind data.
(Inherited from CMSBaseDataSource.) | |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from CMSBaseDataSource.) |