Search results

Tooltip for Button in ASP.NET Core Button control

14 Apr 2021 / 1 minute to read

Tooltip can be shown on Button hover and it can be achieved by setting title attribute.

The following snippets illustrates how to show tooltip on Button hover.

tagHelper
tooltip.cs
Copied to clipboard
<ejs-button id="primarybtn" title="Primary Button" content="Button" isPrimary="true"></ejs-button>
Copied to clipboard
public ActionResult tooltip()
{
    return View();
}