• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Customization in ASP.NET MVC Predefined Dialogs Control

This example demonstrates how to customize the content of the predefined Alert, Confirm and Prompt dialogs. Three buttons have been added to this example, click one of them to open the relevant dialog box.

DEMO
SOURCE

The predefined dialog is used to display messages such as supplemental content like graphics, text, and interactive content like form components within a web page. It can use the content property to load customized content. The content property accepts both string and HTML elements as content.

See also