Skip to main content

ButtonSettings.ClientSideEvents Property

Gets an object that lists the client-side events specific to the Button.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v22.2.dll

NuGet Package: DevExpress.Web.Mvc5


public ButtonClientSideEvents ClientSideEvents { get; }

Property Value

Type Description

A ButtonClientSideEvents object which allows assigning handlers to the client-side events available to the Button.


The ClientSideEvents property provides access to an object of the ButtonClientSideEvents type. This object contains properties whose names correspond to the events available to the Button on the client side. These properties provide the capability to assign handling JavaScript functions to the required client-side events of the Button.

public ActionResult Index()
    return View();
public ActionResult Click()
    return View();
public ActionResult ButtonAction(int customParameter)
    TempData["customParameter"] = customParameter;
    return RedirectToAction("Click");
See Also