DialogDefinition
Properties for configuring the dialog definition.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class DialogDefinition
Inheritance: objectDialogDefinition
Inherited Members
Constructors
Used from a RadControl (Editor, Spell) to define an UserControl dialog
public DialogDefinition(string virtualPath, DialogParameters parameters)
The path to the ascx to be loaded
parametersDialogParametersThe parameters to be passed to the dialog
Used from a RadControl (Editor, Spell) to define a WebControl dialog
public DialogDefinition(Type dialogType, DialogParameters parameters)
The type of the control to be loaded
parametersDialogParametersThe parameters to be passed to the dialog
Properties
Gets or sets a value indicating the behavior of this dialog - if it can be resized, has expand/collapse commands, closed command, etc.
public WindowBehaviors Behaviors { get; set; }
Gets or sets the name of the client-side callback function for the dialog.
public string ClientCallbackFunction { get; set; }
Gets the type of the dialog control to be loaded. Only types in the DialogTypeResolver allowlist are permitted.
[ScriptIgnore]
public Type DialogType { get; }
Gets or sets a value indicating whether the dialog is modal.
public bool Modal { get; set; }
Gets the parameters associated with the dialog.
[ScriptIgnore]
public DialogParameters Parameters { get; }
Gets or sets a value indicating whether the dialog should reload its content when shown.
public bool ReloadOnShow { get; set; }
Gets the serialized representation of the dialog parameters.
public string SerializedParameters { get; }
Gets the virtual path to the dialog's user control (ascx file).
[ScriptIgnore]
public string VirtualPath { get; }
Gets or sets a value indicating whether the dialog's status bar is visible.
public bool VisibleStatusbar { get; set; }
Gets or sets a value indicating whether the dialog's title bar is visible.
public bool VisibleTitlebar { get; set; }