Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ASPxWebDocumentViewer.JSProperties Property

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v24.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

#Declaration

[Browsable(false)]
public Dictionary<string, object> JSProperties { get; }

#Property Value

Type Description
Dictionary<String, Object>

A dictionary, containing the JavaScript property names, along with their corresponding Object 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 is 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 ASPxWebDocumentViewer‘s base properties.

See Also