Click or drag to resize
CMSDialogHelper Class
Class providing helper methods for CMS dialogs.
Inheritance Hierarchy
SystemObject
  CMS.ExtendedControlsCMSDialogHelper

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax
C#
public class CMSDialogHelper

The CMSDialogHelper type exposes the following members.

Constructors
  NameDescription
Public methodCMSDialogHelper
Top
Methods
  NameDescription
Public methodStatic memberEncodeQueryString
Encodes query string.
Public methodStatic memberEscapeArgument
Escapes special characters for artgument.
Public methodStatic memberEscapeUrlParameter
Escapes url parameter special characters.
Public methodStatic memberGetAnchorItem
Gets JavaScript object representing anchor item being inserted.
Public methodStatic memberGetAVItem
Gets JavaScript object representing audio/video item being inserted.
Public methodStatic memberGetDialogItem
Returns object javascript for insert into wysiwyg editor.
Public methodStatic memberGetDialogQueryString(DialogConfiguration)
Returns query string which will be passed to the CMS dialogs (Insert image or media/Insert link).
Public methodStatic memberGetDialogQueryString(DialogConfiguration, Boolean)
Returns query string which will be passed to the CMS dialogs (Insert image or media/Insert link).
Public methodStatic memberGetDialogUrl(DialogConfiguration, Boolean)
Returns complete URL according to the dialog configuration.
Public methodStatic memberGetDialogUrl(DialogConfiguration, Boolean, Boolean)
Returns complete URL according to the dialog configuration.
Public methodStatic memberGetDialogUrl(DialogConfiguration, Boolean, Boolean, String)
Returns complete URL according to the dialog configuration.
Public methodStatic memberGetDialogUrl(DialogConfiguration, Boolean, Boolean, String, Boolean)
Returns complete URL according to the dialog configuration.
Public methodStatic memberGetDialogViewMode(String)
Returns dialog view mode enumeration from its string representation.
Public methodStatic memberGetDialogViewMode(DialogViewModeEnum)
Returns string representation of specified dialog view mode.
Public methodStatic memberGetEmailItem
Gets JavaScript object representing email item being inserted.
Public methodStatic memberGetFileSystemItem
Gets JavaScript object representing file system item being inserted.
Public methodStatic memberGetFlashItem
Gets JavaScript object representing image item being inserted.
Public methodStatic memberGetHashTableFromString
Returns hashtable parsed from string.
Public methodStatic memberGetImageItem
Gets JavaScript object representing image item being inserted.
Public methodStatic memberGetLinkItem
Gets JavaScript object representing link item being inserted.
Public methodStatic memberGetListFromString
Returns array list from input string.
Public methodStatic memberGetMediaData
Returns Media data according to given URL.
Public methodStatic memberGetMediaSource(String)
Converts string into MediaSourceEnum.
Public methodStatic memberGetMediaSource(MediaSourceEnum)
Converts MediaSourceEnum into string.
Public methodStatic memberGetMediaType(String)
Converts string into MediaTypeEnum.
Public methodStatic memberGetMediaType(MediaTypeEnum)
Converts MediaTypeEnum into string.
Public methodStatic memberGetMediaTypeByExt
Returns MediaTypeEnum based on item's extension.
Public methodStatic memberGetNoItemsMessage
Gets info message for the specified dialog and source type displayed when no file exists.
Public methodStatic memberGetOutputFormat
Returns output format enumeration.
Public methodStatic memberGetSelectableContent(String)
Converts string into SelectableContentEnum.
Public methodStatic memberGetSelectableContent(SelectableContentEnum)
Converts SelectableContentEnum into string.
Public methodStatic memberGetSelectItemMessage
Gets info message for the specified dialog and source type displayed when no file is selected.
Public methodStatic memberGetThumbImageDimensions
Gets thumbnail preview image dimensions.
Public methodStatic memberGetUrlItem
Gets JavaScript object representing url item being inserted.
Public methodStatic memberGetYouTubeItem
Gets JavaScript object representing you tube item being inserted.
Public methodStatic memberIsImageLink
Returns true if link url is not for image full size, returns false if link is image full size url.
Public methodStatic memberIsItemSelectable(SelectableContentEnum, String)
Indicates whether the file with specified extension is selectable according specified condition.
Public methodStatic memberIsItemSelectable(SelectableContentEnum, String, Boolean)
Indicates whether the file with specified extension is selectable according specified condition.
Public methodStatic memberRegisterDialogHelper
Ensures registration of dialog helper JavaScript.
Public methodStatic memberUnEscapeArgument
Unescapes special characters for artgument.
Public methodStatic memberUpdateUrl(Int32, Int32, Int32, Int32, String, MediaSourceEnum)
Returns URL updated according specified properties.
Public methodStatic memberUpdateUrl(Int32, Int32, Int32, Int32, String, MediaSourceEnum, Boolean)
Returns URL updated according specified properties.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyStatic memberGuidReg
GUID regular expresion.
Top
See Also