The ASP.NET Core Message is a graphical user interface control that displays messages with visual severity levels. It differentiates messages with icons and colors to denote the importance and context of the message. It has several built-in features, such as severities, variants, icons, and a template.
Display messages with predefined severity types that have distinctive icons and colors to convey their importance to the user. The available severity types are normal, success, info, warning, and error.
Message has predefined appearance variants for different visual representations of messages: text, outlined, and filled.
Users tend to understand visual information better than text. Include severity icons to the left of the message content to provide a visual representation of the message urgency. Users may want to hide some messages once they’ve read them. Include a close icon to the right of the message content to hide it through user input.
Normally, message content is aligned to the left. Users can easily align it to the center or right using the built-in classes e-content-center and e-content-right.
A template is used to create custom user experiences. The Message component lets you customize the content with a custom structure. The content can be a string, paragraph, or any other HTML element.
The corners of the message box can be rounded or squared, by adding a custom class at the application level. Based on this custom class, users can override the message styles to make it round or square. The Message control with rounded corners will have a softer, smoother appearance, while the square corners will have a more ASP.NET Core, defined look.
Developers can control the appearance and behaviors of the Message component using a rich set of APIs.
The ASP.NET Core Message supports several built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.
The Message component is also available for our Blazor, JavaScript, Angular, React, and Vue frameworks. Check it out on the other platforms at these links:
Easily get started with the ASP.NET Core Message using a few simple lines of C# code example as demonstrated below. Also explore our ASP.NET Core Message Example that shows you how to render and configure the Message in ASP.NET Core.
@using Syncfusion.EJ2
@section ControlsSection{
<div class="col-lg-12 control-section msg-default-section">
<div class="content-section">
<ejs-message id="msg_default" content="Editing is restricted"></ejs-message>
<ejs-message id="msg_info" content="Please read the comments carefully" severity="Info"></ejs-message>
<ejs-message id="msg_success" content="Your message has been sent successfully" severity="Success"></ejs-message>
<ejs-message id="msg_warning" content="There was a problem with your network connection" severity="Warning"></ejs-message>
<ejs-message id="msg_error" content="A problem occurred while submitting your data" severity="Error"></ejs-message>
</div>
</div>
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class MessageController : Controller
{
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}
We do not sell the ASP.NET Core Message separately. It is only available for purchase as part of the Syncfusion ASP.NET Core suite, which contains over 85 ASP.NET Core components, including the Message. A single developer license for the Syncfusion Essential Studio for ASP.NET Core suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our ASP.NET Core Message demo, which demonstrates how to render and configure the Message.
No, our 85+ ASP.NET Core components, including Message, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Message alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 85+ ASP.NET Core components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.