Dialog Class |
Namespace: Dynamicweb.Controls
The Dialog type exposes the following members.
| Name | Description | |
|---|---|---|
| CancelAction |
Javascript onclick action for Cancel button - default is dialog.hide('{0}');.
| |
| CancelText |
Gets or sets the "Cancel" button text.
| |
| HidePadding |
Expands the content of the dialog to the edges.
| |
| OkAction |
Javascript onclick action for OK button - default is dialog.hide('{0}');.
| |
| OkText |
Gets or sets the "OK" button text.
| |
| ShowCancelButton |
Show cancel button. Will close dialog unless CancelAction is overridden.
| |
| ShowClose |
Show close button in title bar.
| |
| ShowOkButton |
Show OK button. Will close dialog unless OkAction is overridden.
| |
| Size |
Size of the dialog (sm, md, lg), overrides the width
| |
| Title |
Title of the dialog.
| |
| TranslateTitle |
Gets or sets value indicating whether to translate the list title.
| |
| Width |
Width of the dialog - max is 600 px, min 200 px.
|
| Name | Description | |
|---|---|---|
| Control_OnLoad |
Handles dialog "OnLoad" event.
| |
| LoadResources | ||
| Render |
Renders dialog.
|