MediaSelector Class |
Namespace: CMS.DocumentEngine.Web.UI
public class MediaSelector : WebControl, INamingContainer, ICallbackEventHandler, IDialogControl
The MediaSelector type exposes the following members.
Name | Description | |
---|---|---|
MediaSelector |
Constructor.
| |
MediaSelector(String) |
Constructor with default image path.
| |
MediaSelector(String, Boolean) |
Constructor with default image path.
|
Name | Description | |
---|---|---|
mBtnClearPath |
Clear path button.
| |
mBtnSelectImage |
Select image button.
| |
mHidFullUrl |
Hidden Full URL.
| |
mHidValue |
Hidden value field.
| |
mLtlScript |
Script literal.
| |
mPnlHeader |
Header panel.
| |
mPnlImage |
Preview image panel.
| |
mPnlSelector |
Selector panel.
| |
mPreview |
Preview control.
| |
mTxtImagePath |
Image path field.
|
Name | Description | |
---|---|---|
AutoPostback |
Sets textbox autopostback value
| |
ClearPathButton |
Clear path button.
| |
Culture |
Interface culture of the control.
| |
DialogConfig |
Configuration of the dialog for inserting Images.
| |
Enabled |
Enabled.
(Overrides WebControlEnabled.) | |
EnableOpenInFull |
Enable open in full size behavior.
| |
ImageCssClass |
CSS class of the image preview.
| |
ImageHeight |
Height of the image preview.
| |
ImageMaxSideSize |
Image max side size.
| |
ImagePathTextBox |
Image path textbox.
| |
ImageStyle |
CSS style of the image preview.
| |
ImageWidth | Width of the image preview. | |
IsLiveSite |
Indicates if control is used in live site mode.
| |
PreviewControl |
Image preview control.
| |
SelectImageButton |
Button invoking the image selection dialog.
| |
ShowClearButton |
Indicates if the Clear button should be displayed.
| |
ShowPreview |
Indicates if the image preview be displayed.
| |
ShowTextBox |
Indicates if the path textbox should be displayed.
| |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.) | |
UseCustomDialogConfig |
Gets or sets if custom dialog configuration is used.
| |
Value |
Selector value: URL of the media.
|
Name | Description | |
---|---|---|
CreateChildControls |
Renders the control at run-time.
(Overrides ControlCreateChildControls.) | |
CreatePreviewControl |
Create preview control
| |
GetCallbackResult |
Prepares the callback result.
| |
GetUrlValue |
Returns unresolved url for selected media.
| |
InitControls |
Initializes controls.
| |
LoadDisplayValues |
Returns the display text for the given selector value.
| |
MediaSelector_PreRender |
PreRender event handler.
| |
OnLoad |
Load event handler.
(Overrides ControlOnLoad(EventArgs).) | |
PreviewControlSetup |
Setup preview control
| |
RaiseCallbackEvent |
Raises the callback event.
| |
Render |
Renders the control at design-time.
(Overrides WebControlRender(HtmlTextWriter).) | |
SetUrlValue |
Sets url and preview for selected media.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
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.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |