Search results

Tooltip for Button in ASP.NET MVC Button control

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.

@Html.EJS().Button("primarybtn").Title("Primary Button").Content("Button").IsPrimary(true).Render()


button {
  margin: 25px 5px 20px 20px;

public ActionResult tooltip()
    return View();