# showDialog

Shows a dialog with the supplied arguments.
 

| **showDialog : function(dialogName, argument, callbackFunction)** |         |                                                                                                                                                                                   |
| ----------------------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **dialogName**                                                    | string  | the name of the dialog as declared in the DialogDefiintions property of the server-side RadEditor object                                                                          |
| **argument**                                                      | object  | dialog argument                                                                                                                                                                   |
| **callbackFunction**                                              | integer | a reference or the name of the function to be executed when the dialog is closed;The dialog should return a value when closing in order for the callback function to be executed. |

## See Also

* [Custom Dialogs](https://www.telerik.com/products/aspnet-ajax/documentation/controls/editor/functionality/dialogs/custom-dialogs)

* [Add Custom Dialogs](https://demos.telerik.com/aspnet-ajax/editor/examples/customdialogs/defaultcs.aspx)
