Skip to main content
All docs
V24.1

DashboardExtensionSettings.CustomJSProperties Property

Enables you to supply any server data that can then be parsed on the client.

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v24.1.Web.Mvc5.dll

NuGet Package: DevExpress.Web.Mvc5.Dashboard

Declaration

public CustomJSPropertiesEventHandler CustomJSProperties { get; set; }

Property Value

Type Description
CustomJSPropertiesEventHandler

A CustomJSPropertiesEventHandler method to which custom processing is delegated.

Remarks

There are instances that require you to obtain server information on the client. The delegate method defined by the CustomJSProperties property enables you to declare temporary client properties. Once declared, a property can be accessed on the client.

To add new properties, use the parameter’s CustomJSPropertiesEventArgs.Properties property, which represents a collection of property names and their values. The only requirement is that property names must begin with the ‘cp’ prefix to avoid rewriting the base properties exposed by the ASP.NET MVC Dashboard Extension.

See Also