This sample demonstrates the different types of Dialog like alert, confirm, and prompt. The buttons â€œAlertâ€, â€œConfirmâ€, and â€œPromptâ€ will be shown after closing the alert Dialog. These buttons are used to open the corresponding Dialogs.
The Dialog control is used to display messages such as supplementary content like images and text, and an interactive content like form components within a web page. The following are the two types of Dialogs: