Skip to main content
Tab

ASPxPanelBase.JSProperties Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public Dictionary<string, object> JSProperties { get; }

Property Value

Type Description
Dictionary<String, Object>

The collection of property names and their values.

Remarks

In some instances, it is necessary to obtain server information on the client. The JSProperties property enables you to declare temporary client properties. The JSProperties property represents a collection of property names and their values. Once declared, a property can be accessed on the client.

Note

The only requirement is that property names must begin with the ‘cp’ prefix, to avoid rewriting the ASPxPanelBase‘s base properties.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the JSProperties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also