AppendTo(string selector)

Sets a jQuery selector that is used to determine which element the dialog should be appended to.

Parameters

selector A jQuery selector.

AutoOpen(bool autoOpen)

Sets a value indicating whether the dialog opens automatically when created.

Parameters

autoOpen If true, the dialog opens automatically.

Button(string text, string functionName)

Adds the specified button to the dialog.

Parameters

text The text of the button.
functionName The name of the JavaScript function that is invoked by the button.

Buttons(JQueryUIHelpers.DialogButton[] buttons)

Adds the specified buttons to the dialog.

Parameters

buttons The buttons.

CloseOnEscape(bool close)

Sets a value indicating whether the dialog should close when has focus and the user presses the ESC key.

Parameters

close If true, the dialog closes when the user presses the ESC key.

CloseText(string text)

Sets the text for the close button. Note that the close text is hidden when using a standard theme.

Parameters

text The text.

DialogClass(string cssClassName)

Sets the CSS class name(s) to add to the dialog.

Parameters

cssClassName The class name(s).

Draggable(bool draggable)

Sets a value indicating whether the dialog is draggable.

Parameters

draggable If true, the dialog is draggable.

Height(uint height)

Sets the height of the dialog.

Parameters

height The height in pixels.

Hide(JQueryUIHelpers.Effect effect)

Sets the effect to be used when the dialog is closed.

Parameters

effect The effect.

Hide(uint duration)

Sets the duration of the default hide animation.

Parameters

duration The duration in milliseconds.

Hide(JQueryUIHelpers.Effect effect, uint duration, JQueryUIHelpers.Easing easing)

Sets the effect, duration and easing of the hide animation.

Parameters

effect The effect.
duration The duration in milliseconds.
easing The easing.

MaxHeight(uint maxHeight)

Sets the maximum height of the dialog.

Parameters

maxHeight The maximum height in pixels.

MaxWidth(uint maxWidth)

Sets the maximum width of the dialog.

Parameters

maxWidth The maximum width in pixels.

MinHeight(uint minHeight)

Sets the minimum height of the dialog.

Parameters

minHeight The minimum height in pixels.

MinWidth(uint minWidth)

Sets the minimum width of the dialog.

Parameters

minWidth The minimum width in pixels.

Modal(bool modal)

Sets a value indicating whether the dialog is modal.

Parameters

modal If true, the dialog is modal.

Position(uint x, uint y)

Sets the position of the dialog.

Parameters

x The x coordinate of the left, top corner.
y The y coordinate of the left, top corner.

Position(JQueryUIHelpers.HorizontalPosition horizontalPosition, JQueryUIHelpers.VerticalPosition verticalPosition)

Sets the position of the dialog.

Parameters

horizontalPosition The horizontal position of the dialog.
verticalPosition The vertical position of the dialog.

Position(JQueryUIHelpers.Position position)

Sets the position of the dialog.

Parameters

position The position.

Resizable(bool resizable)

Sets a value indicating whether the dialog is resizable.

Parameters

resizable If true, the dialog is resizable.

Show(JQueryUIHelpers.Effect effect)

Sets the effect to be used when the dialog is opened.

Parameters

effect The effect.

Show(uint duration)

Sets the duration of the default show animation.

Parameters

duration The duration in milliseconds.

Show(JQueryUIHelpers.Effect effect, uint duration, JQueryUIHelpers.Easing easing)

Sets the effect, duration and easing of the show animation.

Parameters

effect The effect.
duration The duration in milliseconds.
easing The easing.

Title(string title)

Sets the title of the dialog.

Parameters

title The title.

Width(uint width)

Sets the width of the dialog.

Parameters

width The width in pixels.

TriggerClick(string selector)

Sets the jQuery selector of the element that opens the dialog on click.

Parameters

selector The jQuery selector that selects the trigger element(s).

TriggerHover(string selector)

Sets the jQuery selector of the element that opens the dialog on mouse enter.

Parameters

selector The jQuery selector that selects the trigger element(s).

Confirm(string selector, string acceptText, string cancelText)

Sets up the dialog to ask for confirmation when the user clicks the specified link(s).

Parameters

selector The jQuery selector that selects the link(s).
acceptText The text of the accept button.
cancelText The text of the cancel button.

ConfirmAjax(string selector, string acceptText, string cancelText, JQueryUIHelpers.AjaxSettings ajaxSettings)

Sets up the dialog to ask for confirmation when the user clicks the specified link(s). If the user confirms the action it will be executed using Ajax and the specified Ajax settings.

Parameters

selector The jQuery selector that selects the link(s).
acceptText The text of the accept button.
cancelText The text of the cancel button.
ajaxSettings The Ajax settings.

OnBeforeClose(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog attempts to close.

Parameters

functionName The name of the function.

OnClose(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog is closed.

Parameters

functionName The name of the function.

OnCreate(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog is created.

Parameters

functionName The name of the function.

OnDrag(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog is dragged.

Parameters

functionName The name of the function.

OnDragStart(string functionName)

Sets the name of the JavaScript function that is triggered at the beginning of the dialog being dragged.

Parameters

functionName The name of the function.

OnDragStop(string functionName)

Sets the name of the JavaScript function that is triggered after the dialog has been dragged.

Parameters

functionName The name of the function.

OnFocus(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog gains focus.

Parameters

functionName The name of the function.

OnOpen(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog is opened.

Parameters

functionName The name of the function.

OnResize(string functionName)

Sets the name of the JavaScript function that is triggered when the dialog is resized.

Parameters

functionName The name of the function.

OnResizeStart(string functionName)

Sets the name of the JavaScript function that is triggered at the beginning of the dialog being resized.

Parameters

functionName The name of the function.

OnResizeStop(string functionName)

Sets the name of the JavaScript function that is triggered after the dialog has been resized.

Parameters

functionName The name of the function.