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

Example of Template in ASP.NET Core Message Control

This sample demonstrates the template functionality of the ASP.NET Core Message control. Click the dismiss button to hide the message. Click the Show pull request button to restore the hidden message.

DEMO
SOURCE

The Message control has an option to customize the content with a custom structure. The content can be a string, paragraph, or any other HTML element.

In this sample, the Message control content is customized with HTML elements and ASP.NET Core Button controls.

More information about Message template can be found in this Documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab