Tooltip for Button

14 Mar 20221 minute to read

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

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

<style>

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

</style>
public ActionResult tooltip()
{
    return View();
}