Trusted by the world’s leading companies
Overview
The ASP.NET MVC Tooltip is a pop-up control that displays additional information or a message when users hover, click, focus, or touch an image, button, anchor tag, etc. A Tooltip can contain simple text, images, hyperlinks, or custom templates.
Position and mouse trails
The ASP.NET MVC Tooltip has twelve different options to position it around the target. Also, Tooltips can be configured to follow or not follow the mouse. Tip pointer positions are right, left, top, and bottom.
Smart positioning/auto positioning
The tooltip intelligently auto positions its content and arrows. It also fits in the best location of the view port or container.
Dynamic content through AJAX
Load content dynamically to Tooltip on demand using the AJAX callback.
Animate Tooltip
Show or hide the ASP.NET MVC Tooltip with smooth animations and control the animation via effect, duration, and delay.
Templated tooltip
The tooltip content can be loaded with HTML elements, images, hyperlinks, iframe, videos, maps, etc. Users can also add a title to the content.
Display behavior
Show or hide an ASP.NET MVC Tooltip using hover, click, double-click, focus, and custom modes. Use the custom mode to show or hide a tooltip.
Offset position
Customize the offset position of a tooltip from a target element.
Sticky Tooltip
Prevent the tooltip from hiding after a short duration using the sticky mode.
Trigger actions
Show the ASP.NET MVC Tooltip on hover, click, touch, and focus on any element.
Fancy tooltip
The ASP.NET MVC Tooltip can be fully customized using CSS styles.
Built-in themes
ASP.NET MVC Tooltip is shipped with several built-in themes such as Bootstrap 5, Fluent, Tailwind CSS, Material, high contrast, and more. Users can customize any one of these built-in themes or create new themes by either simply overriding SASS variables or using the Theme Studio application.
Easy integration
Users just need a message and target element to make the Tooltip fully functional. It will work out of the box. However, it provides many options to change the position, animation, and appearance.
Touch-Friendly
Best user experience on touch devices such as phones and tablets by recognizing touch gestures.
HTML5 SVG and canvas
ASP.NET MVC Tooltip supports both SVG and canvas elements. Users can directly attach tooltips to HTML5 <svg> or <canvas> elements to show data visualization elements.
Other supported frameworks
The Tooltip component is also available in Blazor, React, Angular, JavaScript and Vue frameworks. Check out the different Tooltip platforms from the links below:
Accessibility
-
Fully supports WAI-ARIA accessibility to make it accessible to screen readers and assistive devices.
-
Based on the WCAG 2.0 standard, UI visual elements such as foreground color, background color, line spacing, text, and images are designed.
-
Follows WAI-ARIA best practices best practices for implementing keyboard interaction.
Developer-friendly APIs
In Tooltip, users can control all the UI elements and behaviors. A rich set of developer-friendly APIs provides the best user experience.
ASP.NET MVC Tooltip code example
Easily get started with the ASP.NET MVC Tooltip using a few simple lines of CSHTML example as demonstrated below. Also explore our ASP.NET MVC Tooltip example that shows you how to render and configure a Tooltip in ASP.NET MVC.
@using Syncfusion.EJ2
@section ControlsSection{
<div class="col-lg-8 control-section">
<!-- Tooltip element -->
@Html.EJS().Tooltip("Tooltip").Content("Let's go green to save the planet!!").ContentTemplate(@<div>
<!-- Target element -->
@Html.EJS().Button("btn").Content("Show Tooltip").Render()
</div>).Render()
</div>
<div class="col-lg-4 property-section">
<table id="property" title="Properties">
<tbody>
<tr>
<td style="width: 30%">
<div>Position</div>
</td>
<td style="width: 70%;padding-right: 10px">
<div>
<select id="positions" class="form-control" onchange="onChange(this)">
<option value="TopLeft">Top Left</option>
<option value="TopCenter" selected="">Top Center</option>
<option value="TopRight">Top Right</option>
<option value="BottomLeft">Bottom Left</option>
<option value="BottomCenter">Bottom Center</option>
<option value="BottomRight">Bottom Right</option>
<option value="LeftTop">Left Top</option>
<option value="LeftCenter">Left Center</option>
<option value="LeftBottom">Left Bottom</option>
<option value="RightTop">Right Top</option>
<option value="RightCenter">Right Center</option>
<option value="RightBottom">Right Bottom</option>
</select>
</div>
</td>
</tr>
</tbody>
</table>
</div>
}
<script>
var tooltip;
window.onload = function () {
tooltip = document.getElementById('Tooltip').ej2_instances[0];
}
function onChange(args) {
tooltip.position = args.value;
}
</script>
<style>
#Tooltip {
position: absolute;
left: calc( 50% - 60px);
top: 45%;
}
#headerpanel {
padding-top: 30px;
padding-bottom: 20px;
font-weight: 600;
font-size: 15px;
}
</style>Not sure how to create your first ASP.NET MVC Tooltip? Our documentation can help.
I’d love to read it now140+ ASP.NET MVC UI CONTROLS
Frequently Asked Questions
Why should you choose Syncfusion ASP.NET MVC Tooltip?
Automatically adjust the display position of content and arrows.
- Customize the content with icons, images, dynamic AJAX templates, and much more.
Enhance the open and close of the popover with out-of-the-box animations.
- One of the best ASP.NET MVC Tooltip in the market that offers feature-rich UI to interact with the software.
- Simple configuration and APIs.
Expansive learning resources such as demos and documentation to learn quickly and get started with the ASP.NET MVC Tooltip component.
Where can I find the Syncfusion ASP.NET MVC Tooltip demo?
You can find our ASP.NET MVC Tooltip demo here.
Can I download and utilize the Syncfusion ASP.NET MVC Tooltip for free?
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.
How do I get started with Syncfusion ASP.NET MVC Tooltip?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Here are some of their experiences.
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.