UserControlBase
Definition
Namespace:Telerik.Web.UI.Dialogs
Assembly:Telerik.Web.UI.dll
Syntax:
public abstract class UserControlBase : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlUserControlBase
Derived Classes:
Implements:
Inherited Members
Constructors
protected UserControlBase()
Fields
protected DialogLocalizationStrings Localization
Properties
public virtual string ControlName { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
public abstract string DialogName { get; }
Gets or sets a value indicating where the editor will look for its dialogs.
public string ExternalDialogsPath { get; set; }
A relative path to the dialogs location. For example: "~/controls/RadEditorDialogs/".
If specified, the ExternalDialogsPath property will allow you to customize and load the editor dialogs from normal ASCX files.
Gets or sets a string containing the localization language for the RadEditor UI
public string Language { get; set; }
Gets or sets a value indicating where the control will look for its .resx localization files. By default these files should be in the App_GlobalResources folder. However, if you cannot put the resource files in the default location or .resx files compilation is disabled for some reason (e.g. in a DotNetNuke environment), this property should be set to the location of the resource files.
public string LocalizationPath { get; set; }
A relative path to the dialogs location. For example: "~/controls/RadEditorResources/".
If specified, the LocalizationPath property will allow you to load the control localization files from any location in the web application.
Specifies the rendering mode of the control. Setting the mode to Lightweight will yield HTML 5/CSS 3 html and css.
public override RenderMode RenderMode { get; set; }
Overrides:
Lightweight rendering mode might change the outlook of the component in some older browsers that don't support CSS3/HTML5.
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
protected ToolsStrings ToolsLocalization { get; }
Methods
protected override void CreateChildControls()
Overrides:
protected virtual void OnRenderModeChanged(RenderModeChangedEventArgs e)
Events
public event RendeModeChangedHandler RenderModeChanged