BootstrapComboBoxBuilderBase<T>.OnCustomJSProperties(Action<IBootstrapComboBox, ICustomJSPropertiesEventArgs>) Method

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

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll


public T OnCustomJSProperties(
    Action<IBootstrapComboBox, ICustomJSPropertiesEventArgs> action
Public Function OnCustomJSProperties(
    action As Action(Of IBootstrapComboBox, ICustomJSPropertiesEventArgs)
) As T


Name Type Description
action Action<IBootstrapComboBox, ICustomJSPropertiesEventArgs>

A ICustomJSPropertiesEventArgs object allowing you to implement custom processing.


Type Description

A reference to this instance after the operation is completed.



Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

In some instances, it is necessary to obtain server information on the client. The OnCustomJSProperties method enables you to declare temporary client properties. Once declared, a property can be accessed on the client.

To add new properties, use the ICustomJSPropertiesEventArgs.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 editor.

See Also