We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET MVC Badge is a pure CSS control used to convey notifications, messages, or statuses in different shapes and sizes. The Badge control can be easily integrated with ListView, Avatar, and other container controls.


Notification badge

The ASP.NET MVC Badge can display the number of unread notifications in different colors to indicate their priority level.


Pill badge

Create badges with rounded edges using the pill badge variant.


Create clickable link badges using the link CSS badge variant with an anchor element. It has hover and focus states.


Overlapping badge

Create badges that overlap with profile icons or images, similar to social media notification number badges.


Badge position

A notification badge can be positioned at the top or bottom of profile icons or images. It is placed at the top by default.


Custom position

Even though badges support the conventional top and bottom positions, badge positions can be changed as desired. This can be done by adding a custom class to the badge element to override the default position applied from the source.

Custom position for ASP.NET MVC Badge


Predefined styles

Eight predefined contextual color variants are available for badges.


Types of badges

The ASP.NET MVC Badge control supports six different styles: default, circle, pill, notification, ghost, and dot.


UI Customization

Completely customize the ASP.NET MVC Badge attributes, like dimensions and colors.


Integration with other controls

Integrate the ASP.NET MVC Badge into various controls to achieve different applications, such as displaying the number of unread messages in an email account or the status of product support.


Other supported frameworks

The Badge control is also available in Angular, React, Vue, and JavaScript frameworks. Check out the different Badge platforms from the links below:


ASP.NET MVC Badge Code Example

Easily get started with the ASP.NET MVC Badge using a few simple lines of CSHTML code example as demonstrated below. Also explore our ASP.NET MVC Badge Example that shows you how to render and configure a Badge in ASP.NET MVC.

@using Syncfusion.EJ2
@section ControlsSection{
    <div class="col-lg-12 control-section default">
        <div class="sample_container badge-default">
            <div class="e-btn-group e-custom-button">
                <button id="update" class="e-btn">
                    Updates
                    <!-- Notification Badge -->
                    <span class="e-badge e-badge-info e-badge-notification e-badge-overlap">14</span>
                </button>
                <button id="task" class="e-btn">
                    Tasks
                    <!-- Notification Badge -->
                    <span class="e-badge e-badge-success e-badge-notification e-badge-overlap">48</span>
                </button>
                <button id="notify" class="e-btn">
                    Notifications
                    <!-- Notification Badge -->
                    <span class="e-badge e-badge-secondary e-badge-notification e-badge-overlap">99</span>
                </button>
            </div>
        </div>
    </div>



85+ ASP.NET MVC UI CONTROLS

Frequently Asked Questions

  • A graphical UI CSS control commonly used to display a notification count or status information.
  • Support for different types of badges like notification, pill, link, and overlap badges.
  • Integration with other controls such as Avatar, ListView, and Menu Bar.
  • Standard, predefined, and contextual color variants.
  • Industry-standard themes included: Material, Fabric, and Bootstrap.
  • Support for all modern browsers.
  • Touch-friendly and responsive UI.
  • Extensive demos and documentation to let you get started quickly with the ASP.NET MVC Badge control.

You can find our ASP.NET MVC Badge demo, which demonstrates how to render and configure the Badge.

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.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

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.

Up arrow icon
Live Chat Icon For mobile