ImageEditorDialog
Represents a base class for the image editor dialog controls.
Definition
Namespace:Telerik.Web.UI.ImageEditor
Assembly:Telerik.Web.UI.dll
Syntax:
public abstract class ImageEditorDialog : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor
Inheritance: objectControlWebControlImageEditorDialog
Derived Classes:
Implements:
Inherited Members
Constructors
Creates an instance of the ImageEditorDialog class.
public ImageEditorDialog()
Creates an instance of the ImageEditorDialog class.
public ImageEditorDialog(string skin, RadImageEditor parentImageEditor)
The skin of the parent ImageEditor.
parentImageEditorRadImageEditorThe parent image editor which loads the dialog.
Properties
Gets the name of the Dialog.
public abstract string DialogName { get; }
Gets or sets a value indicating where the image editor will look for its dialogs.
public string ExternalDialogsPath { get; }
A relative path to the dialogs location. For example: "~/controls/RadImageEditorDialogs/".
If specified, the ExternalDialogsPath property will allow you to customize and load the image editor dialogs from normal ASCX files.
Gets or sets the ParentImagEditor control which loads the DialogControl.
protected RadImageEditor ParentImageEditor { get; set; }
Gets the script file associated with the dialog.
public abstract string ScriptUrl { get; }
Gets or sets the Skin of the ParentImageEditor control.
protected string Skin { get; set; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Methods
Searches the current dialog for child RadControls and sets their Skin properties to the same value as that of the ParentImageEditor.
protected override void CreateChildControls()
Overrides:
Reports back if the dialog should be rendered using a Touch skin
Renders the script HTML tag with the script of the control.
protected virtual void RenderScript(HtmlTextWriter writer)
The writer that writes the HTML tag.
Renders the localized title of the dialog.
protected virtual void RenderTitle(HtmlTextWriter writer)
The writer that will write out the text.
public void SetChildControlRenderMode(RadDataBoundControl control)
public void SetChildControlRenderMode(RadWebControl control)
Sets child controls properties. Override this method if you want to configure the child controls, such as setting the localized strings.
protected virtual void SetChildrensProperties()