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

Example of Template in ASP.NET MVC Message Control

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

DEMO
SOURCE

Merged pull request

Pull request #41 merged after a successful build

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 MVC Button controls.

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

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE