Syncfusion.AspNetCore.Popups 34.1.31

Prefix Reserved
dotnet add package Syncfusion.AspNetCore.Popups --version 34.1.31
                    
NuGet\Install-Package Syncfusion.AspNetCore.Popups -Version 34.1.31
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.AspNetCore.Popups" Version="34.1.31" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.AspNetCore.Popups" Version="34.1.31" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.AspNetCore.Popups" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.AspNetCore.Popups --version 34.1.31
                    
#r "nuget: Syncfusion.AspNetCore.Popups, 34.1.31"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.AspNetCore.Popups@34.1.31
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.AspNetCore.Popups&version=34.1.31
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.AspNetCore.Popups&version=34.1.31
                    
Install as a Cake Tool

Syncfusion® ASP.NET Core Popups Components

A comprehensive suite of ASP.NET Core popup and overlay components for building modal and modeless dialogs, tooltips, and loading states. Includes Dialog, Tooltip, and Spinner components.

Supported Components

This package includes the following components:


ASP.NET Core Dialog Component

The ASP.NET Core Dialog Component provides modal and modeless dialog windows for displaying content, confirmations, and user input overlays.

Key Features:

  • Modal & Modeless: Supports both blocking modal and non-blocking modeless display modes
  • Predefined Dialogs: Built-in utility functions for Alert, Confirm, and Prompt dialogs
  • Header & Footer: Configurable header title, close icon, and action button footer
  • Drag & Resize: Enable users to reposition and resize the dialog interactively
  • Content Template: Render any HTML content or Razor partial inside the dialog body
  • Animation: Configurable open/close animation effects
  • Overlay: Customizable backdrop overlay with overlayClick event support
  • Close on Escape: Optionally close the dialog by pressing the Escape key
  • Positioning: Set dialog position relative to the viewport or a specific target element

Documentation


ASP.NET Core Tooltip Component

The ASP.NET Core Tooltip Component displays informational pop-ups when users hover, click, focus, or touch a target element.

Key Features:

  • 12 Positions: Display tooltip in 12 different positions relative to the target
  • Open Modes: Supports Hover, Click, Focus, and Custom trigger modes
  • Rich Content: Content can be plain text, HTML, images, hyperlinks, or custom templates
  • Dynamic Content: Load tooltip content dynamically via Fetch/AJAX in beforeRender event
  • Multiple Targets: Attach a single tooltip to multiple targets within a container using CSS selectors
  • Animation: Configurable show/hide animation effects
  • Sticky Mode: Keep tooltip open until the user manually closes it via a close icon
  • Mouse Trail: Move tooltip along with the mouse pointer
  • Open/Close Delay: Configurable openDelay and closeDelay in milliseconds
  • Auto Tip Position: Automatically repositions the tip pointer to stay within the viewport

Documentation


ASP.NET Core Spinner Component

The ASP.NET Core Spinner Component is a lightweight loading indicator that overlays any target container while content is being fetched or processed.

Key Features:

  • Target Overlay: Attach spinner to any specific container element via the target property
  • Show / Hide API: Programmatically control visibility with showSpinner() and hideSpinner()
  • Spinner Types: Choose from Material, Bootstrap, Fabric, Tailwind, and Fluent styles
  • Custom Size: Configure width to match the target container scale
  • Label Support: Display an optional loading message alongside the spinner animation
  • CSS Customization: Override spinner styles with custom CSS classes

Documentation


Common Setup

All Syncfusion ASP.NET Core controls share the same foundational setup steps.

1. Install NuGet Package

Install-Package Syncfusion.AspNetCore.Popups

2. Register Tag Helper

Add the following to ~/Pages/_ViewImports.cshtml or ~/Views/_ViewImports.cshtml:

@addTagHelper *, Syncfusion.AspNetCore.Popups

3. Add Stylesheet & Script References

In your layout file (~/Pages/Shared/_Layout.cshtml):

<head>
    
    <link rel="stylesheet" href="_content/Syncfusion.AspNetCore.Themes/styles/fluent2.css" />

    

    
    <script src="_content/Syncfusion.AspNetCore.Popups/scripts/sf-dialog.min.js"></script>

    
    <script src="_content/Syncfusion.AspNetCore.Popups/scripts/sf-spinner.min.js"></script>

    
    <script src="_content/Syncfusion.AspNetCore.Popups/scripts/sf-tooltip.min.js"></script>
</head>

4. Register Script Manager

In your layout file (~/Pages/Shared/_Layout.cshtml), At the end of your <body> tag:

<ejs-scripts></ejs-scripts>

Quick Start

Step 1: Create a PageModel

Create ~/Pages/Index.cshtml.cs:

using Microsoft.AspNetCore.Mvc.RazorPages;

public class IndexModel : PageModel
{
    public void OnGet() { }
}

Step 2: Create the View

Create ~/Pages/Index.cshtml:

@page
@model IndexModel

<div class="container mt-5">
    <h2>Popups Components Demo</h2>

    
    <div class="mb-5">
        <h5>Dialog</h5>
        <div id="dialogTarget" style="min-height:200px; position:relative;">
            <ejs-button id="openDialog" content="Open Dialog" cssClass="e-primary"></ejs-button>

            <ejs-dialog id="dialog"
                        header="Confirmation"
                        content="Are you sure you want to proceed with this action?"
                        target="#dialogTarget"
                        width="350px"
                        showCloseIcon="true"
                        isModal="true">
                <e-dialog-buttons>
                    <e-dialog-dialogbutton buttonModel="new { content = 'Yes', isPrimary = true }"
                                           click="onYesClick">
                    </e-dialog-dialogbutton>
                    <e-dialog-dialogbutton buttonModel="new { content = 'No' }"
                                           click="onNoClick">
                    </e-dialog-dialogbutton>
                </e-dialog-buttons>
            </ejs-dialog>
        </div>

        <script>
            document.getElementById('openDialog').onclick = function () {
                document.getElementById('dialog').ej2_instances[0].show();
            };
            function onYesClick() { document.getElementById('dialog').ej2_instances[0].hide(); }
            function onNoClick()  { document.getElementById('dialog').ej2_instances[0].hide(); }
        </script>
    </div>

    
    <div class="mb-5">
        <h5>Tooltip</h5>

        
        <ejs-tooltip id="singleTooltip"
                     content="Click here to submit the form"
                     position="TopCenter">
            <e-content-template>
                <button class="e-btn e-primary">Submit</button>
            </e-content-template>
        </ejs-tooltip>

        &nbsp;&nbsp;

        
        <ejs-tooltip id="multiTooltip"
                     target=".has-tip"
                     position="RightCenter">
            <e-content-template>
                <span class="has-tip" title="First name field">First Name: </span>
                <input type="text" class="has-tip" title="Enter your first name" />
            </e-content-template>
        </ejs-tooltip>
    </div>

    
    <div class="mb-5">
        <h5>Spinner</h5>
        <div id="spinnerTarget" style="height:100px; position:relative; border:1px solid #ddd; border-radius:4px;">
            <p style="padding:16px;">Content area – spinner overlays this container.</p>
        </div>
        <ejs-button id="showSpinner" content="Show Spinner" cssClass="e-info mt-2"></ejs-button>

        <script>
            var spinTarget = document.getElementById('spinnerTarget');
            ej.popups.createSpinner({ target: spinTarget });

            document.getElementById('showSpinner').addEventListener('click', function () {
                ej.popups.showSpinner(spinTarget);
                setTimeout(function () {
                    ej.popups.hideSpinner(spinTarget);
                }, 3000);
            });
        </script>
    </div>
</div>

Step 3: Run the Application

Press Ctrl+F5 to run the application in your browser.


Support

License

This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA.

About Syncfusion®

Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:

Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com

sales@syncfusion.com | Toll Free: 1-888-9-DOTNET

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on Syncfusion.AspNetCore.Popups:

Package Downloads
Syncfusion.AspNetCore.SplitButtons

Syncfusion® ASP.NET Core SplitButtons package provides SplitButton and DropDownButton controls for building action menus in toolbars and UI panels. The SplitButton combines a primary action button with a dropdown menu of secondary actions. The DropDownButton provides a dropdown menu accessible through a button trigger. Both controls support icons, keyboard navigation, RTL, templates, separators, and accessibility compliance, making them ideal for toolbars, action panels, and command interfaces in ASP.NET Core applications.

Syncfusion.AspNetCore.Inputs

Syncfusion® ASP.NET Core Inputs package provides a rich collection of form input controls including TextBox, TextArea, MaskedTextBox, NumericTextBox, ColorPicker, Slider, Uploader, Switch, Signature, Rating, OTP Input, and Speech-To-Text. These controls offer validation, globalization, accessibility (ARIA), RTL support, and customizable styling. They are designed to deliver an enhanced user input experience in forms, data entry screens, and interactive applications built on ASP.NET Core.

Syncfusion.AspNetCore.DropDowns

Syncfusion® ASP.NET Core DropDowns package provides a comprehensive set of dropdown input controls including DropDownList, ComboBox, AutoComplete, MultiSelect, ListBox, DropDownTree, and Mention. These controls support data binding from local and remote data sources, virtualization for large datasets, grouping, filtering, templates, cascading DropDowns, checkbox selection, tagging, and accessibility. They are designed to deliver a rich and consistent selection experience in forms and data-driven ASP.NET Core web applications.

Syncfusion.AspNetCore.InteractiveChat

Syncfusion® ASP.NET Core Interactive Chat package includes AI-powered conversational UI controls: AI AssistView and Chat UI. AI AssistView provides an intelligent assistant interface for integrating AI-generated suggestions and responses into applications. Chat UI delivers a full-featured messaging interface with support for message history, custom templates, typing indicators, time stamps, and user avatars. These controls are ideal for building AI-assisted workflows, chatbots, and real-time messaging experiences in ASP.NET Core applications.

Syncfusion.AspNetCore.RichTextEditor

Syncfusion® ASP.NET Core Rich Text Editor (RTE) is a feature-complete WYSIWYG HTML editor that enables rich content creation with a familiar word processor-like interface. It supports text formatting (bold, italic, underline, color, alignment), tables, images, hyperlinks, lists, code view, source code editing, mentions, emoji, video embedding, paste from Word/Excel, custom toolbar configuration, full-screen editing, and content export. It also supports Markdown editing mode, making it versatile for CMS, blog platforms, and form-based content input in ASP.NET Core applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
34.1.31 88 7/14/2026
34.1.30 336 7/9/2026
34.1.29 576 7/6/2026