The requested page is not available for the requested platform. You are viewing the content for Default platform.

XtraReport.ScriptReferencesString Property

Gets or sets the string containing all script references represented by the XtraReport.ScriptReferences property.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[Browsable(false)]
public string ScriptReferencesString { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
<Browsable(False)>
Public Property ScriptReferencesString As String

Property Value

Type Default Description
String

String.Empty

A String containing all the strings returned by the XtraReport.ScriptReferences property.

Remarks

This property is intended to provide the capability to set the XtraReport.ScriptReferences property at runtime. Note that if you assign several assembly paths to the ScriptReferencesString property, they should be separated by a new line character.

Examples

The following example demonstrates how to add references to external assemblies whose classes can be used in scripts. While at design time this can be done via the XtraReport.ScriptReferences property, at runtime the XtraReport.ScriptReferencesString property should be used.

XtraReport1 report = new XtraReport1();
report.ScriptReferencesString = "Dlls\\MyAssembly1.dll\r\nDlls\\MyAssembly2.dll";
See Also