Click or drag to resize
ImageSelector Class
Image selection dialog.
Inheritance Hierarchy

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public class ImageSelector : WebControl, 
	INamingContainer, ICallbackEventHandler, IDialogControl

The ImageSelector type exposes the following members.

Constructors
  NameDescription
Public methodImageSelector
Constructor.
Public methodImageSelector(String)
Constructor with default image path.
Public methodImageSelector(String, Boolean)
Constructor with default image path.
Top
Fields
  NameDescription
Protected fieldmBtnClearPath
Clear path button.
Protected fieldmBtnSelectImage
Select image button.
Protected fieldmHidAlt
Hidden alternate text
Protected fieldmHidDefaultValue
Hidden default value field.
Protected fieldmHidFullUrl
Hidden Full URL.
Protected fieldmHidPreviewUrl
Hidden preview URL.
Protected fieldmHidValue
Hidden value field.
Protected fieldmImgImagePreview
Preview image.
Protected fieldmLtlScript
Script literal.
Protected fieldmPnlHeader
Header panel.
Protected fieldmPnlSelector
Selector panel.
Protected fieldmTxtImagePath
Image path field.
Top
Properties
  NameDescription
Public propertyAlternateText
Gets or sets the alternate text value for the image
Public propertyClearPathButton
Clear path button.
Public propertyCulture
Interface culture of the control.
Public propertyDefaultValue
Default value.
Public propertyDialogConfig
Configuration of the dialog for inserting Images.
Public propertyEnabled
Enabled.
(Overrides WebControlEnabled.)
Public propertyEnableOpenInFull
Enable open in full size behavior.
Public propertyImageCssClass
CSS class of the image preview.
Public propertyImageHeight
Height of the image preview.
Public propertyImageMaxSideSize
Image max side size.
Public propertyImagePathTextBox
Image path textbox.
Public propertyImagePreviewControl
Image preview control.
Public propertyImageStyle
CSS style of the image preview.
Public propertyImageWidth
Width of the image preview.
Public propertyIsLiveSite
Indicates if control is used in live site mode.
Public propertySelectImageButton
Button invoking the image selection dialog.
Public propertyShowClearButton
Indicates if the Clear button should be displayed.
Public propertyShowImagePreview
Indicates if the image preview be displayed.
Public propertyShowTextBox
Indicates if the path textbox should be displayed.
Protected propertyTagKey
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.)
Public propertyUseImagePath
Indicates whether image path (TRUE) or path with node guid (FALSE) should be returned to the textbox field.
Public propertyValue
Selector value: UseImagePath is set to FALSE -> selector value is Node GUID, UseImagePath is set to TRUE -> selector value is file path.
Top
Methods
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