Kendo.Mvc.UI.Fluent.DialogBuilder
Defines the fluent API for configuring the Kendo Dialog for ASP.NET MVC.
Methods
Actions(System.Action<Kendo.Mvc.UI.Fluent.DialogActionFactory>)
A collection of objects containing text, action and primary attributes used to specify the dialog buttons. #### Example
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DialogActionFactory>
The action that configures the actions.
ButtonLayout(System.String)
Specifies the possible layout of the action buttons in the Dialog.Note: Stretched layout has no effect in browsers, like IE9, that do not support flexbox.Possible values are: normal or stretched.
Parameters
value System.String
The value that configures the buttonlayout.
Closable(System.Boolean)
Specifies whether a close button should be rendered at the top corner of the dialog.
Parameters
value System.Boolean
The value that configures the closable.
Messages(System.Action<Kendo.Mvc.UI.Fluent.DialogMessagesSettingsBuilder>)
Defines the text of the labels that are shown within the dialog. Used primarily for localization.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DialogMessagesSettingsBuilder>
The action that configures the messages.
Modal(System.Boolean)
Specifies whether the dialog should show a modal overlay over the page.
Parameters
enabled System.Boolean
Enables or disables the modal option.
Modal(System.Action<Kendo.Mvc.UI.Fluent.DialogModalSettingsBuilder>)
Specifies whether the dialog should show a modal overlay over the page.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DialogModalSettingsBuilder>
The action that configures the modal.
Visible(System.Boolean)
Specifies whether the dialog will be initially visible.
Parameters
value System.Boolean
The value that configures the visible.
Size(System.String)
Set predefined size to the dialog. The width and height configuration options override the predefined size.Possible values are: auto; small; medium or large.
Parameters
value System.String
The value that configures the size.
Content(System.String)
The content of the dialog
Parameters
value System.String
The value that configures the content.
Animation(System.Boolean)
A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.
Parameters
enabled System.Boolean
Enables or disables the animation option.
Animation(System.Action<Kendo.Mvc.UI.Fluent.PopupAnimationBuilder>)
A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.PopupAnimationBuilder>
The action that configures the animation.
Title(System.String)
The text in the dialog title bar. If false, the dialog will be displayed without a title bar.
Parameters
value System.String
The value that configures the visible.
Title(System.Boolean)
Specifies whether the dialog title will be initially visible.
Parameters
show System.Boolean
The value that configures the visible.
Events(System.Action<Kendo.Mvc.UI.Fluent.DialogEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DialogEventBuilder>
The client events action.
Example (ASPX)
<%= Html.Kendo().Dialog()
.Name("Dialog")
.Events(events => events
.Close("onClose")
)
%>
Height(System.Double)
Specifies height of the dialog.
Parameters
value System.Double
The value that configures the height.
Height(System.String)
Specifies height of the dialog.
Parameters
value System.String
The value that configures the height.
MaxHeight(System.Double)
The maximum height (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.Double
The value that configures the maxheight.
MaxHeight(System.String)
The maximum height (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.String
The value that configures the maxheight.
MaxWidth(System.Double)
The maximum width (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.Double
The value that configures the maxwidth.
MaxWidth(System.String)
The maximum width (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.String
The value that configures the maxwidth.
MinHeight(System.Double)
The minimum height (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.Double
The value that configures the minheight.
MinHeight(System.String)
The minimum height (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.String
The value that configures the minheight.
MinWidth(System.Double)
The minimum width (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.Double
The value that configures the minwidth.
MinWidth(System.String)
The minimum width (in pixels) that may be achieved by resizing the dialog.
Parameters
value System.String
The value that configures the minwidth.
Width(System.Double)
Specifies width of the dialog.
Parameters
value System.Double
The value that configures the width.
Width(System.String)
Specifies width of the dialog.
Parameters
value System.String
The value that configures the width.