Class: DialogButton

Cadcorp.UI.DialogButton

new DialogButton(config)

An enhanced button that opens a dialog when it's clicked.
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Extends

Members

buttonOptions

Properties:
Name Type Description
buttonOptions Object Passed to the jQuery UI button constructor
Inherited From:

dialogControllerId

Properties:
Name Type Description
dialogControllerId string The id of the Cadcorp.UI.DialogController used to display dialogs

dialogId

Properties:
Name Type Description
dialogId string The id of the Cadcorp.UI.DialogBase to display when this button is clicked

id

Properties:
Name Type Description
id string The id for this control
Inherited From:

map

Properties:
Name Type Attributes Description
map Object <nullable>
The map for this control
Inherited From:

Methods

buttonClickedHandler(eventArgs)

Called when the button is clicked. Opens the linked dialog.
Parameters:
Name Type Description
eventArgs Object The event arguments
Overrides: