RadDialogOpener
RadDialogOpener class
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("FormDecorator")]
[RequiredScript(typeof(jQueryPlugins))]
[ToolboxBitmap(typeof(RadDialogOpener), "Toolbox.Icons.DialogOpener.png")]
[ClientScriptResource("Telerik.Web.UI.RadDialogOpener", "Telerik.Web.UI.Dialogs.RadDialogOpenerScripts.js")]
public class RadDialogOpener : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, INamingContainer
Inheritance: objectControlWebControlRadWebControlRadDialogOpener
Derived Classes:
Implements:
Inherited Members
Constructors
public RadDialogOpener()
Properties
Gets or sets an additional querystring appended to the dialog URL.
[ClientControlProperty]
public string AdditionalQueryString { get; set; }
A String, appended to the dialog URL
Get/Set the animation effect of the window
public WindowAnimation Animation { get; set; }
Gets the DialogDefinitionDictionary, containing the DialogDefinitions of the managed dialogs.
[PersistenceMode(PersistenceMode.Attribute)]
[Bindable(true)]
public DialogDefinitionDictionary DialogDefinitions { get; }
TODO
TODO
[PersistenceMode(PersistenceMode.Attribute)]
public string DialogParametersProviderTypeName { get; set; }
Gets or sets the location of a CSS file, that will be added in the dialog window. If you need to include
more than one file, use the CSS @import url(); rule to add the other files from the first.
public string DialogsCssFile { get; set; }
Gets or sets the location of a JavaScript file, that will be added in the dialog window. If you need to include
more than one file, you will need to combine the scripts into one first.
public string DialogsScriptFile { get; set; }
Gets or sets the value, indicating whether to render the skin CSS files during Ajax requests
public override bool EnableAjaxSkinRendering { get; set; }
Overrides:
Implements:
If EnableAjaxSkinRendering is set to false you will have to register the needed control base CSS file by hand when adding/showing the control with Ajax.
Gets or sets the value, indicating whether to render the link to the embedded base stylesheet of the control or not.
public override bool EnableEmbeddedBaseStylesheet { get; set; }
Overrides:
If EnableEmbeddedBaseStylesheet is set to false you will have to register the needed control base CSS file by hand.
Gets or sets the value, indicating whether to render links to the embedded scripts or not.
public override bool EnableEmbeddedScripts { get; set; }
Overrides:
Implements:
If EnableEmbeddedScripts is set to false you will have to register the needed script files by hand.
Gets or sets the value, indicating whether to render links to the embedded skins or not.
public override bool EnableEmbeddedSkins { get; set; }
Overrides:
Implements:
If EnableEmbeddedSkins is set to false you will have to register the needed CSS files by hand.
When set to True, tells the dialog opener to use RadScriptManager and RadStyleSheetManager when loading an .ascx dialog file.
[ClientControlProperty]
public bool EnableTelerikManagers { get; set; }
[PersistenceMode(PersistenceMode.Attribute)]
[Bindable(true)]
[ClientControlProperty]
public string HandlerUrl { get; set; }
Gets or sets the localization language for the user interface.
[Browsable(true)]
[Bindable(true)]
[Obsolete("This property is not used. Set the language from the dialog parameters.")]
public string Language { get; set; }
The localization language for the user interface. The default value is en-US.
Gets or sets the client-side script that gets executed when the dialog closing event is raised
[ClientControlEvent]
[ClientPropertyName("close")]
public string OnClientClose { get; set; }
Gets or sets the client-side script that gets executed when the dialog opening event is raised
[ClientControlEvent]
[ClientPropertyName("open")]
public string OnClientOpen { get; set; }
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:
Implements:
Lightweight rendering mode might change the outlook of the component in some older browsers that don't support CSS3/HTML5.
Gets or sets the skin name for the control user interface.
[TypeConverter("Telerik.Web.Design.SkinTypeConverter, Telerik.Web.Design, Version=2026.3.812.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4")]
public override string Skin { get; set; }
A string containing the skin name for the control user interface. The default is string.Empty.
Overrides:
Implements:
If this property is not set, the control will render using the skin named "Default". If EnableEmbeddedSkins is set to false, the control will not render skin.
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets a value, indicating if classic windows will be used for opening a dialog.
[PersistenceMode(PersistenceMode.Attribute)]
[Bindable(true)]
[ClientControlProperty]
public bool UseClassicDialogs { get; set; }
A boolean, indicating if classic windows will be used for opening a dialog
When set to true, the RadDialogOpener shows a dialog similar to the ones opened by window.open and window.showModalDialog;
Methods
protected override void CreateChildControls()
Overrides:
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Overrides: