Skip to main content

XRDesignMdiController.OpenReport(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Loads the report definition from the specified REPX file and opens it in the XRDesignMdiController.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v25.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public void OpenReport(
    string fileName
)

Parameters

Name Type Description
fileName String

A String representing the full path to the report file (.REPX) to be opened.

Remarks

When the OpenReport method is called, it creates a new XRDesignPanel instance and loads the specified report into it.

See Also