New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Properties for configuring the dialog definition.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class DialogDefinition

Inheritance: objectDialogDefinition

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Used from a RadControl (Editor, Spell) to define an UserControl dialog

C#
public DialogDefinition(string virtualPath, DialogParameters parameters)
Parameters:virtualPathstring

The path to the ascx to be loaded

parametersDialogParameters

The parameters to be passed to the dialog

Used from a RadControl (Editor, Spell) to define a WebControl dialog

C#
public DialogDefinition(Type dialogType, DialogParameters parameters)
Parameters:dialogTypeType

The type of the control to be loaded

parametersDialogParameters

The 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.

C#
public WindowBehaviors Behaviors { get; set; }

Gets or sets the name of the client-side callback function for the dialog.

C#
public string ClientCallbackFunction { get; set; }

Gets the type of the dialog control to be loaded. Only types in the DialogTypeResolver allowlist are permitted.

C#
[ScriptIgnore]
public Type DialogType { get; }

Gets or sets the height of the dialog window.

C#
public Unit Height { get; set; }

Gets or sets a value indicating whether the dialog is modal.

C#
public bool Modal { get; set; }

Gets the parameters associated with the dialog.

C#
[ScriptIgnore]
public DialogParameters Parameters { get; }

Gets or sets a value indicating whether the dialog should reload its content when shown.

C#
public bool ReloadOnShow { get; set; }

Gets the serialized representation of the dialog parameters.

C#
public string SerializedParameters { get; }

Gets or sets the title of the dialog window.

C#
public string Title { get; set; }

Gets the virtual path to the dialog's user control (ascx file).

C#
[ScriptIgnore]
public string VirtualPath { get; }

Gets or sets a value indicating whether the dialog's status bar is visible.

C#
public bool VisibleStatusbar { get; set; }

Gets or sets a value indicating whether the dialog's title bar is visible.

C#
public bool VisibleTitlebar { get; set; }

Gets or sets the width of the dialog window.

C#
public Unit Width { get; set; }