Dialog Controls

Previous Next

You can add dialogs to your application by including standard dialogs from the jQuery or Bootstrap framework.

Alternatively, you can develop a Dialog Control class in Web Designer and call it through an id name or class name. In this case, make sure you set the Auto Open property to True (the default is False), otherwise the dialog will not display in the Page Preview pane.

Example

When using the Bootstrap framework, you can call (open) and close a dialog control with id "myDialog" as follows:

$('#myDialog').data("ui-control").show()

$('#myDialog').data("ui-control").close()

 

See Also

Configuring your Web Application with USoft Web Designer and CSS

Lookup Dialogs