Search results

Create a Block Button in ASP.NET MVC Button control

You can customize a Button into a Block Button that will span the entire width of its parent element. To create a Block Button, set the cssClass property to e-block.

@Html.EJS().Button("successbtn").Content("BLOCKBUTTON").CssClass("e-block e-success").Render()


button {
  margin: 25px 0;

public ActionResult blockButton()
    return View();